#6E1E9B#6E1E9B

#6E1E9B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.189 H 309.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6E1E9B
RGBrgb(110, 30, 155)
HSLhsl(278, 68%, 36%)
HSVhsv(278, 81%, 61%)
CMYKcmyk(29%, 80.6%, 0%, 39.2%)
CIE-LABlab(30.90, 54.19, -51.56)
CIE-LCHlch(30.90, 74.79, 316.42°)
OKLaboklab(42.89% 0.1202 -0.1464)
OKLCHoklch(42.89% 0.189 309.4)
XYZxyz(12.8099, 6.6104, 31.6051)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E9B #4B9B1E
analogous
#301E9B #6E1E9B #9B1E8A
triadic
#6E1E9B #9B6E1E #1E9B6E
tetradic
#6E1E9B #9B301E #4B9B1E #1E8A9B
square
#6E1E9B #9B301E #4B9B1E #1E8A9B
split-complementary
#6E1E9B #8A9B1E #1E9B30
monochromatic
#250A34 #4A1468 #6E1E9B #9228CE #AD55DE

Accessibility & contrast

On white

9.04
#6E1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E9B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E9B#FFFFFF#000000##FFFFFF
##6E1E9B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#673E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1e9b;
/* rgb */ color: rgb(110, 30, 155);
/* oklch */ color: oklch(42.9% 0.189 309.4);
Tailwind
colors: {
  custom: {
    50: '#9d64b9',
    500: '#6e1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e9b;
$custom-light: #9d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e9b",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 278.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.18942,
    "h": 309.4
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#6E1E9B
secondary
#7BC253
accent
#EA3D7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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