#6E238D#6E238D

#6E238D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.171 H 313.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6E238D
RGBrgb(110, 35, 141)
HSLhsl(282, 60%, 35%)
HSVhsv(282, 75%, 55%)
CMYKcmyk(22%, 75.2%, 0%, 44.7%)
CIE-LABlab(30.50, 49.28, -43.61)
CIE-LCHlch(30.50, 65.81, 318.49°)
OKLaboklab(42.27% 0.1184 -0.1231)
OKLCHoklch(42.27% 0.171 313.9)
XYZxyz(11.8383, 6.4405, 25.8137)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E238D #428D23
analogous
#39238D #6E238D #8D2377
triadic
#6E238D #8D6E23 #238D6E
tetradic
#6E238D #8D3923 #428D23 #23778D
square
#6E238D #8D3923 #428D23 #23778D
split-complementary
#6E238D #778D23 #238D39
monochromatic
#220B2B #48175C #6E238D #942FBE #B055D5

Accessibility & contrast

On white

9.18
#6E238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E238D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E238D#FFFFFF#000000##FFFFFF
##6E238D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#1B4A8B
Tritanopia (blue-blind)
#6B3A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e238d;
/* rgb */ color: rgb(110, 35, 141);
/* oklch */ color: oklch(42.3% 0.171 313.9);
Tailwind
colors: {
  custom: {
    50: '#9b66af',
    500: '#6e238d',
    950: '#000000',
  },
}
SCSS
$custom: #6e238d;
$custom-light: #9b66af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e238d",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 282.453,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.1708,
    "h": 313.9
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#6E238D
secondary
#71B953
accent
#E34473
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E238D

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

Preview Lab → · Contrast checker → · Palette generator →

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