#6E2495#6E2495

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

Color values

HEX#6E2495
RGBrgb(110, 36, 149)
HSLhsl(279, 61%, 36%)
HSVhsv(279, 76%, 58%)
CMYKcmyk(26.2%, 75.8%, 0%, 41.6%)
CIE-LABlab(31.22, 50.62, -47.37)
CIE-LCHlch(31.22, 69.32, 316.90°)
OKLaboklab(42.97% 0.1161 -0.1341)
OKLCHoklch(42.97% 0.177 310.9)
XYZxyz(12.4851, 6.7470, 29.0725)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2495 #4B9524
analogous
#362495 #6E2495 #952484
triadic
#6E2495 #956E24 #24956E
tetradic
#6E2495 #953624 #4B9524 #248495
square
#6E2495 #953624 #4B9524 #248495
split-complementary
#6E2495 #849524 #249536
monochromatic
#250C32 #4A1864 #6E2495 #9230C6 #AD5CD8

Accessibility & contrast

On white

8.94
#6E2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6E2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2495
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2495#FFFFFF#000000##FFFFFF
##6E24951.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#0D4B93
Tritanopia (blue-blind)
#693E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2495;
/* rgb */ color: rgb(110, 36, 149);
/* oklch */ color: oklch(43.0% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c67b5',
    500: '#6e2495',
    950: '#000000',
  },
}
SCSS
$custom: #6e2495;
$custom-light: #9c67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2495",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 279.292,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.17743,
    "h": 310.9
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#6E2495
secondary
#7BBC59
accent
#E4447B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2495

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

Preview Lab → · Contrast checker → · Palette generator →

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