#6E1A9F#6E1A9F

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

Color values

HEX#6E1A9F
RGBrgb(110, 26, 159)
HSLhsl(278, 72%, 36%)
HSVhsv(278, 84%, 62%)
CMYKcmyk(30.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(30.78, 56.36, -54.20)
CIE-LCHlch(30.78, 78.19, 316.12°)
OKLaboklab(42.91% 0.1222 -0.1541)
OKLCHoklch(42.91% 0.197 308.4)
XYZxyz(13.0565, 6.5572, 33.3720)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A9F #4B9F1A
analogous
#2C1A9F #6E1A9F #9F1A8E
triadic
#6E1A9F #9F6E1A #1A9F6E
tetradic
#6E1A9F #9F2C1A #4B9F1A #1A8E9F
square
#6E1A9F #9F2C1A #4B9F1A #1A8E9F
split-complementary
#6E1A9F #8E9F1A #1A9F2C
monochromatic
#250936 #4A116A #6E1A9F #9223D4 #AD51E3

Accessibility & contrast

On white

9.09
#6E1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6E1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A9F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A9F#FFFFFF#000000##FFFFFF
##6E1A9F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#663E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1a9f;
/* rgb */ color: rgb(110, 26, 159);
/* oklch */ color: oklch(42.9% 0.197 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d63bc',
    500: '#6e1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a9f;
$custom-light: #9d63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a9f",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 277.895,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.19668,
    "h": 308.4
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#6E1A9F
secondary
#7BC550
accent
#EF397C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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