#6E1F97#6E1F97

#6E1F97 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.185 H 310.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6E1F97
RGBrgb(110, 31, 151)
HSLhsl(280, 66%, 36%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(27.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(30.71, 52.96, -49.42)
CIE-LCHlch(30.71, 72.44, 316.98°)
OKLaboklab(42.66% 0.1203 -0.1401)
OKLCHoklch(42.66% 0.185 310.6)
XYZxyz(12.5052, 6.5296, 29.8737)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F97 #48971F
analogous
#321F97 #6E1F97 #971F84
triadic
#6E1F97 #976E1F #1F976E
tetradic
#6E1F97 #97321F #48971F #1F8497
square
#6E1F97 #97321F #48971F #1F8497
split-complementary
#6E1F97 #84971F #1F9732
monochromatic
#240A31 #491564 #6E1F97 #9329CA #AE54DC

Accessibility & contrast

On white

9.11
#6E1F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1F97
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F97#FFFFFF#000000##FFFFFF
##6E1F971.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#683D5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1f97;
/* rgb */ color: rgb(110, 31, 151);
/* oklch */ color: oklch(42.7% 0.185 310.6);
Tailwind
colors: {
  custom: {
    50: '#9c65b6',
    500: '#6e1f97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f97;
$custom-light: #9c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f97",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 279.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.18469,
    "h": 310.6
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#6E1F97
secondary
#78BF52
accent
#E93F79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1F97

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

Preview Lab → · Contrast checker → · Palette generator →

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