#6F237E#6F237E

#6F237E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.157 H 320.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6F237E
RGBrgb(111, 35, 126)
HSLhsl(290, 57%, 32%)
HSVhsv(290, 72%, 49%)
CMYKcmyk(11.9%, 72.2%, 0%, 50.6%)
CIE-LABlab(29.63, 46.38, -35.64)
CIE-LCHlch(29.63, 58.49, 322.46°)
OKLaboklab(41.37% 0.1212 -0.0997)
OKLCHoklch(41.37% 0.157 320.5)
XYZxyz(10.9220, 6.0885, 20.3345)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237E #327E23
analogous
#42237E #6F237E #7E2360
triadic
#6F237E #7E6F23 #237E6F
tetradic
#6F237E #7E4223 #327E23 #23607E
square
#6F237E #7E4223 #327E23 #23607E
split-complementary
#6F237E #607E23 #237E42
monochromatic
#1B081E #45164E #6F237E #9930AE #B94ECE

Accessibility & contrast

On white

9.47
#6F237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6F237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F237E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237E#FFFFFF#000000##FFFFFF
##6F237E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#70344E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f237e;
/* rgb */ color: rgb(111, 35, 126);
/* oklch */ color: oklch(41.4% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#9b65a4',
    500: '#6f237e',
    950: '#000000',
  },
}
SCSS
$custom: #6f237e;
$custom-light: #9b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237e",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 290.11,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.15691,
    "h": 320.5
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#6F237E
secondary
#5DB04C
accent
#E04861
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F237E

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

Preview Lab → · Contrast checker → · Palette generator →

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