#6E237F#6E237F

#6E237F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.157 H 319.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6E237F
RGBrgb(110, 35, 127)
HSLhsl(289, 57%, 32%)
HSVhsv(289, 72%, 50%)
CMYKcmyk(13.4%, 72.4%, 0%, 50.2%)
CIE-LABlab(29.54, 46.35, -36.43)
CIE-LCHlch(29.54, 58.96, 321.83°)
OKLaboklab(41.28% 0.1198 -0.102)
OKLCHoklch(41.28% 0.157 319.6)
XYZxyz(10.8617, 6.0499, 20.6702)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E237F #347F23
analogous
#40237F #6E237F #7F2362
triadic
#6E237F #7F6E23 #237F6E
tetradic
#6E237F #7F4023 #347F23 #23627F
square
#6E237F #7F4023 #347F23 #23627F
split-complementary
#6E237F #627F23 #237F40
monochromatic
#1B091F #44164F #6E237F #9830AF #B74ECE

Accessibility & contrast

On white

9.50
#6E237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E237F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E237F#FFFFFF#000000##FFFFFF
##6E237F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e237f;
/* rgb */ color: rgb(110, 35, 127);
/* oklch */ color: oklch(41.3% 0.157 319.6);
Tailwind
colors: {
  custom: {
    50: '#9b65a5',
    500: '#6e237f',
    950: '#000000',
  },
}
SCSS
$custom: #6e237f;
$custom-light: #9b65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e237f",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 288.913,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.1574,
    "h": 319.6
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#6E237F
secondary
#5FB14C
accent
#E04864
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E237F

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

Preview Lab → · Contrast checker → · Palette generator →

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