#6D229E#6D229E

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

Color values

HEX#6D229E
RGBrgb(109, 34, 158)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 78%, 62%)
CMYKcmyk(31%, 78.5%, 0%, 38%)
CIE-LABlab(31.50, 53.22, -52.42)
CIE-LCHlch(31.50, 74.70, 315.43°)
OKLaboklab(43.35% 0.1147 -0.149)
OKLCHoklch(43.35% 0.188 307.6)
XYZxyz(13.0489, 6.8641, 32.9786)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D229E #539E22
analogous
#2F229E #6D229E #9E2291
triadic
#6D229E #9E6D22 #229E6D
tetradic
#6D229E #9E2F22 #539E22 #22919E
square
#6D229E #9E2F22 #539E22 #22919E
split-complementary
#6D229E #919E22 #229E2F
monochromatic
#280C39 #4A176C #6D229E #902DD0 #AA5EDC

Accessibility & contrast

On white

8.85
#6D229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D229E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D229E#FFFFFF#000000##FFFFFF
##6D229E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d229e;
/* rgb */ color: rgb(109, 34, 158);
/* oklch */ color: oklch(43.4% 0.188 307.6);
Tailwind
colors: {
  custom: {
    50: '#9c66bb',
    500: '#6d229e',
    950: '#000000',
  },
}
SCSS
$custom: #6d229e;
$custom-light: #9c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d229e",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 276.29,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.18808,
    "h": 307.6
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D229E

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

Preview Lab → · Contrast checker → · Palette generator →

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