#6D229D#6D229D

#6D229D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.187 H 307.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6D229D
RGBrgb(109, 34, 157)
HSLhsl(277, 64%, 37%)
HSVhsv(277, 78%, 62%)
CMYKcmyk(30.6%, 78.3%, 0%, 38.4%)
CIE-LABlab(31.42, 52.99, -51.95)
CIE-LCHlch(31.42, 74.21, 315.57°)
OKLaboklab(43.27% 0.115 -0.1476)
OKLCHoklch(43.27% 0.187 307.9)
XYZxyz(12.9632, 6.8298, 32.5271)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D229D #529D22
analogous
#2F229D #6D229D #9D2290
triadic
#6D229D #9D6D22 #229D6D
tetradic
#6D229D #9D2F22 #529D22 #22909D
square
#6D229D #9D2F22 #529D22 #22909D
split-complementary
#6D229D #909D22 #229D2F
monochromatic
#270C38 #4A176B #6D229D #902DCF #AB5DDC

Accessibility & contrast

On white

8.88
#6D229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D229D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D229D#FFFFFF#000000##FFFFFF
##6D229D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d229d;
/* rgb */ color: rgb(109, 34, 157);
/* oklch */ color: oklch(43.3% 0.187 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c66bb',
    500: '#6d229d',
    950: '#000000',
  },
}
SCSS
$custom: #6d229d;
$custom-light: #9c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d229d",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 276.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.18711,
    "h": 307.9
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#6D229D
secondary
#82C15A
accent
#E74082
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D229D

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

Preview Lab → · Contrast checker → · Palette generator →

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