#6E2198#6E2198

#6E2198 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.184 H 310.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6E2198
RGBrgb(110, 33, 152)
HSLhsl(279, 64%, 36%)
HSVhsv(279, 78%, 60%)
CMYKcmyk(27.6%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.04, 52.45, -49.50)
CIE-LCHlch(31.04, 72.11, 316.66°)
OKLaboklab(42.92% 0.1183 -0.1404)
OKLCHoklch(42.92% 0.184 310.1)
XYZxyz(12.6406, 6.6700, 30.3212)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2198 #4B9821
analogous
#332198 #6E2198 #982187
triadic
#6E2198 #986E21 #21986E
tetradic
#6E2198 #983321 #4B9821 #218798
square
#6E2198 #983321 #4B9821 #218798
split-complementary
#6E2198 #879821 #219833
monochromatic
#250B33 #4A1666 #6E2198 #922CCA #AD59DB

Accessibility & contrast

On white

9.00
#6E2198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2198
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2198#FFFFFF#000000##FFFFFF
##6E21981.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#683E5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2198;
/* rgb */ color: rgb(110, 33, 152);
/* oklch */ color: oklch(42.9% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#9c65b7',
    500: '#6e2198',
    950: '#000000',
  },
}
SCSS
$custom: #6e2198;
$custom-light: #9c65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2198",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 278.824,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.1836,
    "h": 310.1
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#6E2198
secondary
#7BBF56
accent
#E7407B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2198

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

Preview Lab → · Contrast checker → · Palette generator →

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