#6F309F#6F309F

#6F309F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.173 H 306.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6F309F
RGBrgb(111, 48, 159)
HSLhsl(274, 54%, 41%)
HSVhsv(274, 70%, 62%)
CMYKcmyk(30.2%, 69.8%, 0%, 37.6%)
CIE-LABlab(33.98, 47.82, -49.00)
CIE-LCHlch(33.98, 68.46, 314.30°)
OKLaboklab(45.19% 0.1035 -0.139)
OKLCHoklch(45.19% 0.173 306.7)
XYZxyz(13.8692, 7.9968, 33.6071)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F309F #609F30
analogous
#37309F #6F309F #9F3097
triadic
#6F309F #9F6F30 #309F6F
tetradic
#6F309F #9F3730 #609F30 #30979F
square
#6F309F #9F3730 #609F30 #30979F
split-complementary
#6F309F #979F30 #309F37
monochromatic
#2D1441 #4E2270 #6F309F #8F45C7 #AB74D5

Accessibility & contrast

On white

8.08
#6F309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F309F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F309F#FFFFFF#000000##FFFFFF
##6F309F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#0F509D
Tritanopia (blue-blind)
#674964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f309f;
/* rgb */ color: rgb(111, 48, 159);
/* oklch */ color: oklch(45.2% 0.173 306.7);
Tailwind
colors: {
  custom: {
    50: '#9d6dbc',
    500: '#6f309f',
    950: '#000000',
  },
}
SCSS
$custom: #6f309f;
$custom-light: #9d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f309f",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 274.054,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.17327,
    "h": 306.7
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#6F309F
secondary
#90BD6E
accent
#DD4B8A
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F309F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6F309F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva