#6E238F#6E238F

#6E238F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 313.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6E238F
RGBrgb(110, 35, 143)
HSLhsl(282, 61%, 35%)
HSVhsv(282, 76%, 56%)
CMYKcmyk(23.1%, 75.5%, 0%, 43.9%)
CIE-LABlab(30.64, 49.71, -44.62)
CIE-LCHlch(30.64, 66.80, 318.09°)
OKLaboklab(42.42% 0.1181 -0.126)
OKLCHoklch(42.42% 0.173 313.1)
XYZxyz(11.9885, 6.5006, 26.6045)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E238F #448F23
analogous
#38238F #6E238F #8F237A
triadic
#6E238F #8F6E23 #238F6E
tetradic
#6E238F #8F3823 #448F23 #237A8F
square
#6E238F #8F3823 #448F23 #237A8F
split-complementary
#6E238F #7A8F23 #238F38
monochromatic
#220B2D #48175E #6E238F #942FC0 #AF57D6

Accessibility & contrast

On white

9.13
#6E238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6E238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E238F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E238F#FFFFFF#000000##FFFFFF
##6E238F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#6A3B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e238f;
/* rgb */ color: rgb(110, 35, 143);
/* oklch */ color: oklch(42.4% 0.173 313.1);
Tailwind
colors: {
  custom: {
    50: '#9b66b0',
    500: '#6e238f',
    950: '#000000',
  },
}
SCSS
$custom: #6e238f;
$custom-light: #9b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e238f",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 281.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.17273,
    "h": 313.1
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#6E238F
secondary
#73BA54
accent
#E44475
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E238F

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

Preview Lab → · Contrast checker → · Palette generator →

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