#6E1F9D#6E1F9D

#6E1F9D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.190 H 308.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6E1F9D
RGBrgb(110, 31, 157)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 80%, 62%)
CMYKcmyk(29.9%, 80.3%, 0%, 38.4%)
CIE-LABlab(31.18, 54.27, -52.32)
CIE-LCHlch(31.18, 75.38, 316.05°)
OKLaboklab(43.14% 0.1189 -0.1486)
OKLCHoklch(43.14% 0.19 308.7)
XYZxyz(13.0049, 6.7295, 32.5056)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F9D #4E9D1F
analogous
#2F1F9D #6E1F9D #9D1F8D
triadic
#6E1F9D #9D6E1F #1F9D6E
tetradic
#6E1F9D #9D2F1F #4E9D1F #1F8D9D
square
#6E1F9D #9D2F1F #4E9D1F #1F8D9D
split-complementary
#6E1F9D #8D9D1F #1F9D2F
monochromatic
#260B37 #4A156A #6E1F9D #9229D0 #AC58DE

Accessibility & contrast

On white

8.95
#6E1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1F9D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F9D#FFFFFF#000000##FFFFFF
##6E1F9D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#673F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1f9d;
/* rgb */ color: rgb(110, 31, 157);
/* oklch */ color: oklch(43.1% 0.190 308.7);
Tailwind
colors: {
  custom: {
    50: '#9d65bb',
    500: '#6e1f9d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f9d;
$custom-light: #9d65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f9d",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 277.619,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.19035,
    "h": 308.7
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#6E1F9D
secondary
#7EC256
accent
#EA3E7E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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