#6E258E#6E258E

#6E258E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 313.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6E258E
RGBrgb(110, 37, 142)
HSLhsl(282, 59%, 35%)
HSVhsv(282, 74%, 56%)
CMYKcmyk(22.5%, 73.9%, 0%, 44.3%)
CIE-LABlab(30.86, 48.67, -43.65)
CIE-LCHlch(30.86, 65.38, 318.11°)
OKLaboklab(42.55% 0.1162 -0.1232)
OKLCHoklch(42.55% 0.169 313.3)
XYZxyz(11.9736, 6.5915, 26.2275)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E258E #458E25
analogous
#39258E #6E258E #8E257A
triadic
#6E258E #8E6E25 #258E6E
tetradic
#6E258E #8E3925 #458E25 #257A8E
square
#6E258E #8E3925 #458E25 #257A8E
split-complementary
#6E258E #7A8E25 #258E39
monochromatic
#230C2D #48185D #6E258E #9432BF #AF5AD4

Accessibility & contrast

On white

9.06
#6E258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E258E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E258E#FFFFFF#000000##FFFFFF
##6E258E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#6B3C57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e258e;
/* rgb */ color: rgb(110, 37, 142);
/* oklch */ color: oklch(42.6% 0.169 313.3);
Tailwind
colors: {
  custom: {
    50: '#9b67b0',
    500: '#6e258e',
    950: '#000000',
  },
}
SCSS
$custom: #6e258e;
$custom-light: #9b67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e258e",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 281.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.16938,
    "h": 313.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#6E258E
secondary
#74B956
accent
#E24675
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E258E

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

Preview Lab → · Contrast checker → · Palette generator →

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