#6E2A85#6E2A85

#6E2A85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.154 H 316.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6E2A85
RGBrgb(110, 42, 133)
HSLhsl(285, 52%, 34%)
HSVhsv(285, 68%, 52%)
CMYKcmyk(17.3%, 68.4%, 0%, 47.8%)
CIE-LABlab(31.03, 44.52, -37.79)
CIE-LCHlch(31.03, 58.40, 319.67°)
OKLaboklab(42.48% 0.1114 -0.1061)
OKLCHoklch(42.48% 0.154 316.4)
XYZxyz(11.4914, 6.6648, 22.8669)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2A85 #41852A
analogous
#412A85 #6E2A85 #852A6F
triadic
#6E2A85 #856E2A #2A856E
tetradic
#6E2A85 #85412A #41852A #2A6F85
square
#6E2A85 #85412A #41852A #2A6F85
split-complementary
#6E2A85 #6F852A #2A8541
monochromatic
#210D28 #481B56 #6E2A85 #9439B4 #B05DCC

Accessibility & contrast

On white

9.00
#6E2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6E2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2A85
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2A85#FFFFFF#000000##FFFFFF
##6E2A851.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#6D3B54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2a85;
/* rgb */ color: rgb(110, 42, 133);
/* oklch */ color: oklch(42.5% 0.154 316.4);
Tailwind
colors: {
  custom: {
    50: '#9b69a9',
    500: '#6e2a85',
    950: '#000000',
  },
}
SCSS
$custom: #6e2a85;
$custom-light: #9b69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2a85",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 284.835,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.15385,
    "h": 316.4
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#6E2A85
secondary
#70B259
accent
#DB4C71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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