#6D239A#6D239A

#6D239A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.183 H 308.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6D239A
RGBrgb(109, 35, 154)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 60%)
CMYKcmyk(29.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(31.32, 51.93, -50.28)
CIE-LCHlch(31.32, 72.29, 315.93°)
OKLaboklab(43.13% 0.1147 -0.1427)
OKLCHoklch(43.13% 0.183 308.8)
XYZxyz(12.7392, 6.7866, 31.2044)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D239A #509A23
analogous
#32239A #6D239A #9A238C
triadic
#6D239A #9A6D23 #239A6D
tetradic
#6D239A #9A3223 #509A23 #238C9A
square
#6D239A #9A3223 #509A23 #238C9A
split-complementary
#6D239A #8C9A23 #239A32
monochromatic
#260C36 #4A1868 #6D239A #902ECC #AB5DDA

Accessibility & contrast

On white

8.91
#6D239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D239A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D239A#FFFFFF#000000##FFFFFF
##6D239A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#66405D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d239a;
/* rgb */ color: rgb(109, 35, 154);
/* oklch */ color: oklch(43.1% 0.183 308.8);
Tailwind
colors: {
  custom: {
    50: '#9b66b9',
    500: '#6d239a',
    950: '#000000',
  },
}
SCSS
$custom: #6d239a;
$custom-light: #9b66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d239a",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 277.311,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.18313,
    "h": 308.8
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#6D239A
secondary
#80BF5A
accent
#E64280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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