#6E1F99#6E1F99

#6E1F99 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 310.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6E1F99
RGBrgb(110, 31, 153)
HSLhsl(279, 66%, 36%)
HSVhsv(279, 80%, 60%)
CMYKcmyk(28.1%, 79.7%, 0%, 40%)
CIE-LABlab(30.87, 53.40, -50.39)
CIE-LCHlch(30.87, 73.42, 316.66°)
OKLaboklab(42.82% 0.1199 -0.143)
OKLCHoklch(42.82% 0.187 310)
XYZxyz(12.6690, 6.5952, 30.7364)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F99 #4A991F
analogous
#311F99 #6E1F99 #991F87
triadic
#6E1F99 #996E1F #1F996E
tetradic
#6E1F99 #99311F #4A991F #1F8799
square
#6E1F99 #99311F #4A991F #1F8799
split-complementary
#6E1F99 #87991F #1F9931
monochromatic
#250A33 #491566 #6E1F99 #9329CC #AD56DD

Accessibility & contrast

On white

9.06
#6E1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1F99
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F99#FFFFFF#000000##FFFFFF
##6E1F991.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#683E5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e1f99;
/* rgb */ color: rgb(110, 31, 153);
/* oklch */ color: oklch(42.8% 0.187 310.0);
Tailwind
colors: {
  custom: {
    50: '#9c65b8',
    500: '#6e1f99',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f99;
$custom-light: #9c65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f99",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 278.852,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.18658,
    "h": 310
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#6E1F99
secondary
#7AC054
accent
#E93F7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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