#6F237B#6F237B

#6F237B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.154 H 321.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6F237B
RGBrgb(111, 35, 123)
HSLhsl(292, 56%, 31%)
HSVhsv(292, 72%, 48%)
CMYKcmyk(9.8%, 71.5%, 0%, 51.8%)
CIE-LABlab(29.44, 45.79, -34.06)
CIE-LCHlch(29.44, 57.06, 323.36°)
OKLaboklab(41.17% 0.1213 -0.0951)
OKLCHoklch(41.17% 0.154 321.9)
XYZxyz(10.7313, 6.0122, 19.3303)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237B #2F7B23
analogous
#43237B #6F237B #7B235B
triadic
#6F237B #7B6F23 #237B6F
tetradic
#6F237B #7B4323 #2F7B23 #235B7B
square
#6F237B #7B4323 #2F7B23 #235B7B
split-complementary
#6F237B #5B7B23 #237B43
monochromatic
#19081C #44154B #6F237B #9A31AB #BB4CCC

Accessibility & contrast

On white

9.54
#6F237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F237B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237B#FFFFFF#000000##FFFFFF
##6F237B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f237b;
/* rgb */ color: rgb(111, 35, 123);
/* oklch */ color: oklch(41.2% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6f237b',
    950: '#000000',
  },
}
SCSS
$custom: #6f237b;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237b",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 291.818,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.15412,
    "h": 321.9
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#6F237B
secondary
#59AE4C
accent
#DF495D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F237B

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

Preview Lab → · Contrast checker → · Palette generator →

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