#6E229F#6E229F

#6E229F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.189 H 307.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6E229F
RGBrgb(110, 34, 159)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(30.8%, 78.6%, 0%, 37.6%)
CIE-LABlab(31.72, 53.62, -52.66)
CIE-LCHlch(31.72, 75.15, 315.52°)
OKLaboklab(43.57% 0.1159 -0.1497)
OKLCHoklch(43.57% 0.189 307.8)
XYZxyz(13.2591, 6.9624, 33.4396)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229F #539F22
analogous
#2F229F #6E229F #9F2291
triadic
#6E229F #9F6E22 #229F6E
tetradic
#6E229F #9F2F22 #539F22 #22919F
square
#6E229F #9F2F22 #539F22 #22919F
split-complementary
#6E229F #919F22 #229F2F
monochromatic
#280C3A #4B176D #6E229F #912DD1 #AB5FDD

Accessibility & contrast

On white

8.78
#6E229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6E229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229F#FFFFFF#000000##FFFFFF
##6E229F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#664260
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e229f;
/* rgb */ color: rgb(110, 34, 159);
/* oklch */ color: oklch(43.6% 0.189 307.8);
Tailwind
colors: {
  custom: {
    50: '#9d66bc',
    500: '#6e229f',
    950: '#000000',
  },
}
SCSS
$custom: #6e229f;
$custom-light: #9d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229f",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 276.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.1893,
    "h": 307.8
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#6E229F
secondary
#83C15B
accent
#E84082
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E229F

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

Preview Lab → · Contrast checker → · Palette generator →

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