#6D239D#6D239D

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

Color values

HEX#6D239D
RGBrgb(109, 35, 157)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 62%)
CMYKcmyk(30.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(31.55, 52.61, -51.73)
CIE-LCHlch(31.55, 73.78, 315.48°)
OKLaboklab(43.36% 0.1141 -0.147)
OKLCHoklch(43.36% 0.186 307.8)
XYZxyz(12.9922, 6.8878, 32.5368)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D239D #539D23
analogous
#30239D #6D239D #9D2390
triadic
#6D239D #9D6D23 #239D6D
tetradic
#6D239D #9D3023 #539D23 #23909D
square
#6D239D #9D3023 #539D23 #23909D
split-complementary
#6D239D #909D23 #239D30
monochromatic
#280D39 #4A186B #6D239D #902ECF #AA5FDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D239D#FFFFFF#000000##FFFFFF
##6D239D1.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)
#0048A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d239d;
/* rgb */ color: rgb(109, 35, 157);
/* oklch */ color: oklch(43.4% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#9c67bb',
    500: '#6d239d',
    950: '#000000',
  },
}
SCSS
$custom: #6d239d;
$custom-light: #9c67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d239d",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 276.393,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.18606,
    "h": 307.8
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#6D239D
secondary
#83C05C
accent
#E74182
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D239D

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

Preview Lab → · Contrast checker → · Palette generator →

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