#6E229D#6E229D

#6E229D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.187 H 308.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6E229D
RGBrgb(110, 34, 157)
HSLhsl(277, 64%, 37%)
HSVhsv(277, 78%, 62%)
CMYKcmyk(29.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(31.56, 53.17, -51.70)
CIE-LCHlch(31.56, 74.16, 315.81°)
OKLaboklab(43.41% 0.1164 -0.1469)
OKLCHoklch(43.41% 0.187 308.4)
XYZxyz(13.0870, 6.8936, 32.5329)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E229D #519D22
analogous
#30229D #6E229D #9D228F
triadic
#6E229D #9D6E22 #229D6E
tetradic
#6E229D #9D3022 #519D22 #228F9D
square
#6E229D #9D3022 #519D22 #228F9D
split-complementary
#6E229D #8F9D22 #229D30
monochromatic
#280C38 #4B176B #6E229D #912DCF #AC5DDC

Accessibility & contrast

On white

8.83
#6E229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E229D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E229D#FFFFFF#000000##FFFFFF
##6E229D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#67415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e229d;
/* rgb */ color: rgb(110, 34, 157);
/* oklch */ color: oklch(43.4% 0.187 308.4);
Tailwind
colors: {
  custom: {
    50: '#9c66bb',
    500: '#6e229d',
    950: '#000000',
  },
}
SCSS
$custom: #6e229d;
$custom-light: #9c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e229d",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 277.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.18738,
    "h": 308.4
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#6E229D
secondary
#81C15A
accent
#E74080
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E229D

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

Preview Lab → · Contrast checker → · Palette generator →

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