#6E1F9B#6E1F9B

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

Color values

HEX#6E1F9B
RGBrgb(110, 31, 155)
HSLhsl(278, 67%, 36%)
HSVhsv(278, 80%, 61%)
CMYKcmyk(29%, 80%, 0%, 39.2%)
CIE-LABlab(31.02, 53.83, -51.36)
CIE-LCHlch(31.02, 74.40, 316.35°)
OKLaboklab(42.98% 0.1194 -0.1458)
OKLCHoklch(42.98% 0.188 309.3)
XYZxyz(12.8356, 6.6618, 31.6137)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F9B #4C9B1F
analogous
#301F9B #6E1F9B #9B1F8A
triadic
#6E1F9B #9B6E1F #1F9B6E
tetradic
#6E1F9B #9B301F #4C9B1F #1F8A9B
square
#6E1F9B #9B301F #4C9B1F #1F8A9B
split-complementary
#6E1F9B #8A9B1F #1F9B30
monochromatic
#260B35 #4A1568 #6E1F9B #9229CE #AD57DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1F9B#FFFFFF#000000##FFFFFF
##6E1F9B1.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)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#673E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1f9b;
/* rgb */ color: rgb(110, 31, 155);
/* oklch */ color: oklch(43.0% 0.188 309.3);
Tailwind
colors: {
  custom: {
    50: '#9c65b9',
    500: '#6e1f9b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f9b;
$custom-light: #9c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f9b",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 278.226,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.18846,
    "h": 309.3
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#6E1F9B
secondary
#7CC155
accent
#EA3E7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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