#6F237A#6F237A

#6F237A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.153 H 322.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6F237A
RGBrgb(111, 35, 122)
HSLhsl(292, 55%, 31%)
HSVhsv(292, 71%, 48%)
CMYKcmyk(9%, 71.3%, 0%, 52.2%)
CIE-LABlab(29.38, 45.59, -33.52)
CIE-LCHlch(29.38, 56.59, 323.67°)
OKLaboklab(41.1% 0.1213 -0.0935)
OKLCHoklch(41.1% 0.153 322.4)
XYZxyz(10.6691, 5.9873, 19.0023)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237A #2E7A23
analogous
#43237A #6F237A #7A2359
triadic
#6F237A #7A6F23 #237A6F
tetradic
#6F237A #7A4323 #2E7A23 #23597A
square
#6F237A #7A4323 #2E7A23 #23597A
split-complementary
#6F237A #597A23 #237A43
monochromatic
#18081B #44154A #6F237A #9A31AA #BB4CCC

Accessibility & contrast

On white

9.56
#6F237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F237A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237A#FFFFFF#000000##FFFFFF
##6F237A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407C
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f237a;
/* rgb */ color: rgb(111, 35, 122);
/* oklch */ color: oklch(41.1% 0.153 322.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a1',
    500: '#6f237a',
    950: '#000000',
  },
}
SCSS
$custom: #6f237a;
$custom-light: #9b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237a",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 292.414,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.15319,
    "h": 322.4
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#6F237A
secondary
#58AD4C
accent
#DF495C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F237A

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

Preview Lab → · Contrast checker → · Palette generator →

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