#6E2394#6E2394

#6E2394 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.178 H 311.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6E2394
RGBrgb(110, 35, 148)
HSLhsl(280, 62%, 36%)
HSVhsv(280, 76%, 58%)
CMYKcmyk(25.7%, 76.4%, 0%, 42%)
CIE-LABlab(31.01, 50.80, -47.10)
CIE-LCHlch(31.01, 69.27, 317.16°)
OKLaboklab(42.8% 0.1173 -0.1333)
OKLCHoklch(42.8% 0.178 311.3)
XYZxyz(12.3757, 6.6555, 28.6439)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2394 #499423
analogous
#352394 #6E2394 #942381
triadic
#6E2394 #946E23 #23946E
tetradic
#6E2394 #943523 #499423 #238194
square
#6E2394 #943523 #499423 #238194
split-complementary
#6E2394 #819423 #239435
monochromatic
#240C31 #491763 #6E2394 #932FC5 #AD5AD8

Accessibility & contrast

On white

9.01
#6E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2394
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2394#FFFFFF#000000##FFFFFF
##6E23941.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#0E4A92
Tritanopia (blue-blind)
#693D5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2394;
/* rgb */ color: rgb(110, 35, 148);
/* oklch */ color: oklch(42.8% 0.178 311.3);
Tailwind
colors: {
  custom: {
    50: '#9c66b4',
    500: '#6e2394',
    950: '#000000',
  },
}
SCSS
$custom: #6e2394;
$custom-light: #9c66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2394",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 279.823,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.17758,
    "h": 311.3
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#6E2394
secondary
#79BC57
accent
#E54379
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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