#6F237F#6F237F

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

Color values

HEX#6F237F
RGBrgb(111, 35, 127)
HSLhsl(290, 57%, 32%)
HSVhsv(290, 72%, 50%)
CMYKcmyk(12.6%, 72.4%, 0%, 50.2%)
CIE-LABlab(29.70, 46.59, -36.16)
CIE-LCHlch(29.70, 58.98, 322.18°)
OKLaboklab(41.43% 0.1211 -0.1012)
OKLCHoklch(41.43% 0.158 320.1)
XYZxyz(10.9869, 6.1144, 20.6760)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F237F #337F23
analogous
#41237F #6F237F #7F2361
triadic
#6F237F #7F6F23 #237F6F
tetradic
#6F237F #7F4123 #337F23 #23617F
square
#6F237F #7F4123 #337F23 #23617F
split-complementary
#6F237F #617F23 #237F41
monochromatic
#1B091F #45164F #6F237F #9930AF #B84ECE

Accessibility & contrast

On white

9.45
#6F237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F237F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F237F#FFFFFF#000000##FFFFFF
##6F237F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#6F344E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f237f;
/* rgb */ color: rgb(111, 35, 127);
/* oklch */ color: oklch(41.4% 0.158 320.1);
Tailwind
colors: {
  custom: {
    50: '#9b65a5',
    500: '#6f237f',
    950: '#000000',
  },
}
SCSS
$custom: #6f237f;
$custom-light: #9b65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f237f",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 289.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.15785,
    "h": 320.1
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#6F237F
secondary
#5EB14C
accent
#E04862
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6F237F

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

Preview Lab → · Contrast checker → · Palette generator →

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