#6E237C#6E237C

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

Color values

HEX#6E237C
RGBrgb(110, 35, 124)
HSLhsl(291, 56%, 31%)
HSVhsv(291, 72%, 49%)
CMYKcmyk(11.3%, 71.8%, 0%, 51.4%)
CIE-LABlab(29.34, 45.75, -34.85)
CIE-LCHlch(29.34, 57.51, 322.70°)
OKLaboklab(41.08% 0.12 -0.0974)
OKLCHoklch(41.08% 0.155 320.9)
XYZxyz(10.6691, 5.9728, 19.6558)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E237C #317C23
analogous
#41237C #6E237C #7C235D
triadic
#6E237C #7C6E23 #237C6E
tetradic
#6E237C #7C4123 #317C23 #235D7C
square
#6E237C #7C4123 #317C23 #235D7C
split-complementary
#6E237C #5D7C23 #237C41
monochromatic
#19081D #44164C #6E237C #9830AC #B94DCD

Accessibility & contrast

On white

9.57
#6E237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E237C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E237C#FFFFFF#000000##FFFFFF
##6E237C1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#6F334D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e237c;
/* rgb */ color: rgb(110, 35, 124);
/* oklch */ color: oklch(41.1% 0.155 320.9);
Tailwind
colors: {
  custom: {
    50: '#9b65a2',
    500: '#6e237c',
    950: '#000000',
  },
}
SCSS
$custom: #6e237c;
$custom-light: #9b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e237c",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 290.562,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.15457,
    "h": 320.9
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#6E237C
secondary
#5CAF4C
accent
#DF4960
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E237C

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

Preview Lab → · Contrast checker → · Palette generator →

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