#6E2396#6E2396

#6E2396 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.180 H 310.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6E2396
RGBrgb(110, 35, 150)
HSLhsl(279, 62%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(26.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(31.16, 51.24, -48.08)
CIE-LCHlch(31.16, 70.26, 316.82°)
OKLaboklab(42.95% 0.1169 -0.1362)
OKLCHoklch(42.95% 0.18 310.6)
XYZxyz(12.5354, 6.7194, 29.4849)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2396 #4B9623
analogous
#342396 #6E2396 #962385
triadic
#6E2396 #966E23 #23966E
tetradic
#6E2396 #963423 #4B9623 #238596
square
#6E2396 #963423 #4B9623 #238596
split-complementary
#6E2396 #859623 #239634
monochromatic
#250C33 #4A1764 #6E2396 #922FC8 #AD5BD9

Accessibility & contrast

On white

8.96
#6E2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2396
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2396#FFFFFF#000000##FFFFFF
##6E23961.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#074B94
Tritanopia (blue-blind)
#693E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2396;
/* rgb */ color: rgb(110, 35, 150);
/* oklch */ color: oklch(43.0% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#9c66b6',
    500: '#6e2396',
    950: '#000000',
  },
}
SCSS
$custom: #6e2396;
$custom-light: #9c66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2396",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 279.13,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.17952,
    "h": 310.6
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#6E2396
secondary
#7BBD58
accent
#E5437B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2396

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

Preview Lab → · Contrast checker → · Palette generator →

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