#6F237C#6F237C

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

Color values

HEX#6F237C
RGBrgb(111, 35, 124)
HSLhsl(291, 56%, 31%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(10.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(29.51, 45.98, -34.58)
CIE-LCHlch(29.51, 57.54, 323.05°)
OKLaboklab(41.23% 0.1213 -0.0966)
OKLCHoklch(41.23% 0.155 321.4)
XYZxyz(10.7943, 6.0374, 19.6616)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237C #307C23
analogous
#42237C #6F237C #7C235C
triadic
#6F237C #7C6F23 #237C6F
tetradic
#6F237C #7C4223 #307C23 #235C7C
square
#6F237C #7C4223 #307C23 #235C7C
split-complementary
#6F237C #5C7C23 #237C42
monochromatic
#1A081D #44164C #6F237C #9A30AC #BA4DCD

Accessibility & contrast

On white

9.51
#6F237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F237C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237C#FFFFFF#000000##FFFFFF
##6F237C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407F
Deuteranopia (green-blind)
#2E487A
Tritanopia (blue-blind)
#70334D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f237c;
/* rgb */ color: rgb(111, 35, 124);
/* oklch */ color: oklch(41.2% 0.155 321.4);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6f237c',
    950: '#000000',
  },
}
SCSS
$custom: #6f237c;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237c",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 291.236,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.15504,
    "h": 321.4
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#6F237C
secondary
#5BAF4C
accent
#DF495F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F237C

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

Preview Lab → · Contrast checker → · Palette generator →

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