#6E2496#6E2496

#6E2496 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.178 H 310.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6E2496
RGBrgb(110, 36, 150)
HSLhsl(279, 61%, 36%)
HSVhsv(279, 76%, 59%)
CMYKcmyk(26.7%, 76%, 0%, 41.2%)
CIE-LABlab(31.30, 50.84, -47.86)
CIE-LCHlch(31.30, 69.82, 316.73°)
OKLaboklab(43.05% 0.116 -0.1356)
OKLCHoklch(43.05% 0.178 310.5)
XYZxyz(12.5652, 6.7790, 29.4948)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2496 #4C9624
analogous
#352496 #6E2496 #962485
triadic
#6E2496 #966E24 #24966E
tetradic
#6E2496 #963524 #4C9624 #248596
square
#6E2496 #963524 #4C9624 #248596
split-complementary
#6E2496 #859624 #249635
monochromatic
#260C33 #4A1865 #6E2496 #9230C7 #AD5CD8

Accessibility & contrast

On white

8.91
#6E2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2496
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2496#FFFFFF#000000##FFFFFF
##6E24961.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#0A4B94
Tritanopia (blue-blind)
#693F5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2496;
/* rgb */ color: rgb(110, 36, 150);
/* oklch */ color: oklch(43.0% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c67b6',
    500: '#6e2496',
    950: '#000000',
  },
}
SCSS
$custom: #6e2496;
$custom-light: #9c67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2496",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 278.947,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.1784,
    "h": 310.5
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#6E2496
secondary
#7CBD59
accent
#E4437C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2496

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

Preview Lab → · Contrast checker → · Palette generator →

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