#6E229A#6E229A

#6E229A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.184 H 309.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6E229A
RGBrgb(110, 34, 154)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 60%)
CMYKcmyk(28.6%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.33, 52.51, -50.25)
CIE-LCHlch(31.33, 72.68, 316.26°)
OKLaboklab(43.17% 0.117 -0.1426)
OKLCHoklch(43.17% 0.184 309.4)
XYZxyz(12.8340, 6.7924, 31.2006)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229A #4E9A22
analogous
#32229A #6E229A #9A228A
triadic
#6E229A #9A6E22 #229A6E
tetradic
#6E229A #9A3222 #4E9A22 #228A9A
square
#6E229A #9A3222 #4E9A22 #228A9A
split-complementary
#6E229A #8A9A22 #229A32
monochromatic
#260C36 #4A1768 #6E229A #922DCC #AC5BDB

Accessibility & contrast

On white

8.90
#6E229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6E229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229A#FFFFFF#000000##FFFFFF
##6E229A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#673F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e229a;
/* rgb */ color: rgb(110, 34, 154);
/* oklch */ color: oklch(43.2% 0.184 309.4);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6e229a',
    950: '#000000',
  },
}
SCSS
$custom: #6e229a;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229a",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 278,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.18447,
    "h": 309.4
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#6E229A
secondary
#7EBF58
accent
#E7417E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E229A

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

Preview Lab → · Contrast checker → · Palette generator →

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