#6F337B#6F337B

#6F337B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.2% C 0.130 H 320.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6F337B
RGBrgb(111, 51, 123)
HSLhsl(290, 41%, 34%)
HSVhsv(290, 59%, 48%)
CMYKcmyk(9.8%, 58.5%, 0%, 51.8%)
CIE-LABlab(32.21, 38.17, -29.66)
CIE-LCHlch(32.21, 48.34, 322.14°)
OKLaboklab(43.17% 0.1007 -0.0824)
OKLCHoklch(43.17% 0.13 320.7)
XYZxyz(11.3141, 7.1777, 19.5245)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F337B #3F7B33
analogous
#4B337B #6F337B #7B3363
triadic
#6F337B #7B6F33 #337B6F
tetradic
#6F337B #7B4B33 #3F7B33 #33637B
square
#6F337B #7B4B33 #3F7B33 #33637B
split-complementary
#6F337B #637B33 #337B4B
monochromatic
#210F24 #482150 #6F337B #9645A6 #B268C0

Accessibility & contrast

On white

8.62
#6F337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F337B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F337B#FFFFFF#000000##FFFFFF
##6F337B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#703E52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f337b;
/* rgb */ color: rgb(111, 51, 123);
/* oklch */ color: oklch(43.2% 0.130 320.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ea1',
    500: '#6f337b',
    950: '#000000',
  },
}
SCSS
$custom: #6f337b;
$custom-light: #9a6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f337b",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 290,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.13013,
    "h": 320.7
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#6F337B
secondary
#6DA862
accent
#D1576B
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6F337B

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

Preview Lab → · Contrast checker → · Palette generator →

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