#6E258B#6E258B

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

Color values

HEX#6E258B
RGBrgb(110, 37, 139)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 73%, 55%)
CMYKcmyk(20.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(30.65, 48.03, -42.14)
CIE-LCHlch(30.65, 63.89, 318.74°)
OKLaboklab(42.34% 0.1166 -0.1188)
OKLCHoklch(42.34% 0.166 314.5)
XYZxyz(11.7514, 6.5026, 25.0572)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E258B #428B25
analogous
#3B258B #6E258B #8B2575
triadic
#6E258B #8B6E25 #258B6E
tetradic
#6E258B #8B3B25 #428B25 #25758B
square
#6E258B #8B3B25 #428B25 #25758B
split-complementary
#6E258B #758B25 #258B3B
monochromatic
#220B2A #48185B #6E258B #9432BB #B058D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E258B#FFFFFF#000000##FFFFFF
##6E258B1.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)
#00448E
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#6B3B56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e258b;
/* rgb */ color: rgb(110, 37, 139);
/* oklch */ color: oklch(42.3% 0.166 314.5);
Tailwind
colors: {
  custom: {
    50: '#9b67ad',
    500: '#6e258b',
    950: '#000000',
  },
}
SCSS
$custom: #6e258b;
$custom-light: #9b67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e258b",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 282.941,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.16644,
    "h": 314.5
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#6E258B
secondary
#71B755
accent
#E14773
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6E258B

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

Preview Lab → · Contrast checker → · Palette generator →

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