#6D229F#6D229F

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

Color values

HEX#6D229F
RGBrgb(109, 34, 159)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 62%)
CMYKcmyk(31.4%, 78.6%, 0%, 37.6%)
CIE-LABlab(31.57, 53.44, -52.90)
CIE-LCHlch(31.57, 75.20, 315.29°)
OKLaboklab(43.43% 0.1145 -0.1504)
OKLCHoklch(43.43% 0.189 307.3)
XYZxyz(13.1354, 6.8986, 33.4338)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D229F #549F22
analogous
#2E229F #6D229F #9F2292
triadic
#6D229F #9F6D22 #229F6D
tetradic
#6D229F #9F2E22 #549F22 #22929F
square
#6D229F #9F2E22 #549F22 #22929F
split-complementary
#6D229F #929F22 #229F2E
monochromatic
#280C3A #4A176D #6D229F #902DD1 #AA5FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D229F#FFFFFF#000000##FFFFFF
##6D229F1.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)
#0048A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#654260
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d229f;
/* rgb */ color: rgb(109, 34, 159);
/* oklch */ color: oklch(43.4% 0.189 307.3);
Tailwind
colors: {
  custom: {
    50: '#9c66bc',
    500: '#6d229f',
    950: '#000000',
  },
}
SCSS
$custom: #6d229f;
$custom-light: #9c66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d229f",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 276,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.18905,
    "h": 307.3
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#6D229F
secondary
#84C15B
accent
#E84083
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D229F

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

Preview Lab → · Contrast checker → · Palette generator →

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