#6E2296#6E2296

#6E2296 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.181 H 310.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6E2296
RGBrgb(110, 34, 150)
HSLhsl(279, 63%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(26.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(31.02, 51.63, -48.30)
CIE-LCHlch(31.02, 70.70, 316.90°)
OKLaboklab(42.86% 0.1178 -0.1369)
OKLCHoklch(42.86% 0.181 310.7)
XYZxyz(12.5064, 6.6614, 29.4752)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2296 #4A9622
analogous
#342296 #6E2296 #962284
triadic
#6E2296 #966E22 #22966E
tetradic
#6E2296 #963422 #4A9622 #228496
square
#6E2296 #963422 #4A9622 #228496
split-complementary
#6E2296 #849622 #229634
monochromatic
#250B32 #491764 #6E2296 #932DC8 #AD59D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2296#FFFFFF#000000##FFFFFF
##6E22961.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)
#004699
Deuteranopia (green-blind)
#054A94
Tritanopia (blue-blind)
#693E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2296;
/* rgb */ color: rgb(110, 34, 150);
/* oklch */ color: oklch(42.9% 0.181 310.7);
Tailwind
colors: {
  custom: {
    50: '#9c66b6',
    500: '#6e2296',
    950: '#000000',
  },
}
SCSS
$custom: #6e2296;
$custom-light: #9c66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2296",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 279.31,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.18062,
    "h": 310.7
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#6E2296
secondary
#7ABE56
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2296

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

Preview Lab → · Contrast checker → · Palette generator →

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