#6E2197#6E2197

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

Color values

HEX#6E2197
RGBrgb(110, 33, 151)
HSLhsl(279, 64%, 36%)
HSVhsv(279, 78%, 59%)
CMYKcmyk(27.2%, 78.1%, 0%, 40.8%)
CIE-LABlab(30.97, 52.23, -49.01)
CIE-LCHlch(30.97, 71.62, 316.82°)
OKLaboklab(42.84% 0.1186 -0.1389)
OKLCHoklch(42.84% 0.183 310.5)
XYZxyz(12.5591, 6.6374, 29.8917)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2197 #4A9721
analogous
#332197 #6E2197 #972185
triadic
#6E2197 #976E21 #21976E
tetradic
#6E2197 #973321 #4A9721 #218597
square
#6E2197 #973321 #4A9721 #218597
split-complementary
#6E2197 #859721 #219733
monochromatic
#250B33 #491665 #6E2197 #932CC9 #AD58DA

Accessibility & contrast

On white

9.02
#6E2197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2197
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2197#FFFFFF#000000##FFFFFF
##6E21971.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#683E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2197;
/* rgb */ color: rgb(110, 33, 151);
/* oklch */ color: oklch(42.8% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#9c65b6',
    500: '#6e2197',
    950: '#000000',
  },
}
SCSS
$custom: #6e2197;
$custom-light: #9c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2197",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 279.153,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42839,
    "c": 0.18264,
    "h": 310.5
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#6E2197
secondary
#7ABE55
accent
#E7417B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2197

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

Preview Lab → · Contrast checker → · Palette generator →

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