#6E258D#6E258D

#6E258D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.168 H 313.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6E258D
RGBrgb(110, 37, 141)
HSLhsl(282, 58%, 35%)
HSVhsv(282, 74%, 55%)
CMYKcmyk(22%, 73.8%, 0%, 44.7%)
CIE-LABlab(30.79, 48.46, -43.15)
CIE-LCHlch(30.79, 64.88, 318.32°)
OKLaboklab(42.48% 0.1163 -0.1217)
OKLCHoklch(42.48% 0.168 313.7)
XYZxyz(11.8989, 6.5616, 25.8339)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E258D #448D25
analogous
#3A258D #6E258D #8D2578
triadic
#6E258D #8D6E25 #258D6E
tetradic
#6E258D #8D3A25 #448D25 #25788D
square
#6E258D #8D3A25 #448D25 #25788D
split-complementary
#6E258D #788D25 #258D3A
monochromatic
#220C2C #48185D #6E258D #9432BD #AF59D3

Accessibility & contrast

On white

9.08
#6E258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E258D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E258D#FFFFFF#000000##FFFFFF
##6E258D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#6B3B57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e258d;
/* rgb */ color: rgb(110, 37, 141);
/* oklch */ color: oklch(42.5% 0.168 313.7);
Tailwind
colors: {
  custom: {
    50: '#9b67af',
    500: '#6e258d',
    950: '#000000',
  },
}
SCSS
$custom: #6e258d;
$custom-light: #9b67af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e258d",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 282.115,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.1684,
    "h": 313.7
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#6E258D
secondary
#73B856
accent
#E24675
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E258D

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

Preview Lab → · Contrast checker → · Palette generator →

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