#6E229B#6E229B

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

Color values

HEX#6E229B
RGBrgb(110, 34, 155)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 61%)
CMYKcmyk(29%, 78.1%, 0%, 39.2%)
CIE-LABlab(31.41, 52.73, -50.74)
CIE-LCHlch(31.41, 73.17, 316.10°)
OKLaboklab(43.25% 0.1168 -0.144)
OKLCHoklch(43.25% 0.185 309)
XYZxyz(12.9176, 6.8259, 31.6410)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229B #4F9B22
analogous
#32229B #6E229B #9B228C
triadic
#6E229B #9B6E22 #229B6E
tetradic
#6E229B #9B3222 #4F9B22 #228C9B
square
#6E229B #9B3222 #4F9B22 #228C9B
split-complementary
#6E229B #8C9B22 #229B32
monochromatic
#270C37 #4A1769 #6E229B #922DCD #AC5CDB

Accessibility & contrast

On white

8.88
#6E229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229B#FFFFFF#000000##FFFFFF
##6E229B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#67405E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e229b;
/* rgb */ color: rgb(110, 34, 155);
/* oklch */ color: oklch(43.2% 0.185 309.0);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6e229b',
    950: '#000000',
  },
}
SCSS
$custom: #6e229b;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229b",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 277.686,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.18544,
    "h": 309
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#6E229B
secondary
#7FC059
accent
#E7417F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E229B

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

Preview Lab → · Contrast checker → · Palette generator →

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