#6E2494#6E2494

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

Color values

HEX#6E2494
RGBrgb(110, 36, 148)
HSLhsl(280, 61%, 36%)
HSVhsv(280, 76%, 58%)
CMYKcmyk(25.7%, 75.7%, 0%, 42%)
CIE-LABlab(31.15, 50.40, -46.87)
CIE-LCHlch(31.15, 68.83, 317.07°)
OKLaboklab(42.9% 0.1163 -0.1327)
OKLCHoklch(42.9% 0.176 311.2)
XYZxyz(12.4056, 6.7152, 28.6539)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2494 #4A9424
analogous
#362494 #6E2494 #942482
triadic
#6E2494 #946E24 #24946E
tetradic
#6E2494 #943624 #4A9424 #248294
square
#6E2494 #943624 #4A9424 #248294
split-complementary
#6E2494 #829424 #249436
monochromatic
#250C32 #491863 #6E2494 #9330C5 #AD5BD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E2494#FFFFFF#000000##FFFFFF
##6E24941.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)
#004697
Deuteranopia (green-blind)
#0F4B92
Tritanopia (blue-blind)
#693E5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2494;
/* rgb */ color: rgb(110, 36, 148);
/* oklch */ color: oklch(42.9% 0.176 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c67b4',
    500: '#6e2494',
    950: '#000000',
  },
}
SCSS
$custom: #6e2494;
$custom-light: #9c67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2494",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 279.643,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.17644,
    "h": 311.2
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#6E2494
secondary
#7ABC58
accent
#E4447A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2494

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

Preview Lab → · Contrast checker → · Palette generator →

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