#6E2297#6E2297

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

Color values

HEX#6E2297
RGBrgb(110, 34, 151)
HSLhsl(279, 63%, 36%)
HSVhsv(279, 77%, 59%)
CMYKcmyk(27.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(31.10, 51.85, -48.79)
CIE-LCHlch(31.10, 71.20, 316.74°)
OKLaboklab(42.93% 0.1176 -0.1383)
OKLCHoklch(42.93% 0.182 310.4)
XYZxyz(12.5873, 6.6937, 29.9011)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2297 #4B9722
analogous
#342297 #6E2297 #972286
triadic
#6E2297 #976E22 #22976E
tetradic
#6E2297 #973422 #4B9722 #228697
square
#6E2297 #973422 #4B9722 #228697
split-complementary
#6E2297 #869722 #229734
monochromatic
#250C33 #4A1765 #6E2297 #922DC9 #AD5ADA

Accessibility & contrast

On white

8.98
#6E2297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6E2297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2297
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2297#FFFFFF#000000##FFFFFF
##6E22971.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2297;
/* rgb */ color: rgb(110, 34, 151);
/* oklch */ color: oklch(42.9% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#9c66b6',
    500: '#6e2297',
    950: '#000000',
  },
}
SCSS
$custom: #6e2297;
$custom-light: #9c66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2297",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 278.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.18157,
    "h": 310.4
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#6E2297
secondary
#7BBE57
accent
#E6427B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E2297

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

Preview Lab → · Contrast checker → · Palette generator →

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