#6D229A#6D229A

#6D229A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.184 H 308.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6D229A
RGBrgb(109, 34, 154)
HSLhsl(278, 64%, 37%)
HSVhsv(278, 78%, 60%)
CMYKcmyk(29.2%, 77.9%, 0%, 39.6%)
CIE-LABlab(31.18, 52.32, -50.50)
CIE-LCHlch(31.18, 72.72, 316.01°)
OKLaboklab(43.03% 0.1156 -0.1434)
OKLCHoklch(43.03% 0.184 308.9)
XYZxyz(12.7102, 6.7286, 31.1948)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D229A #4F9A22
analogous
#31229A #6D229A #9A228B
triadic
#6D229A #9A6D22 #229A6D
tetradic
#6D229A #9A3122 #4F9A22 #228B9A
square
#6D229A #9A3122 #4F9A22 #228B9A
split-complementary
#6D229A #8B9A22 #229A31
monochromatic
#260C36 #4A1768 #6D229A #902DCC #AB5BDB

Accessibility & contrast

On white

8.95
#6D229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D229A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D229A#FFFFFF#000000##FFFFFF
##6D229A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#66405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d229a;
/* rgb */ color: rgb(109, 34, 154);
/* oklch */ color: oklch(43.0% 0.184 308.9);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6d229a',
    950: '#000000',
  },
}
SCSS
$custom: #6d229a;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d229a",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 277.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.18419,
    "h": 308.9
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#6D229A
secondary
#7FBF58
accent
#E7417F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D229A

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

Preview Lab → · Contrast checker → · Palette generator →

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