#6D239B#6D239B

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

Color values

HEX#6D239B
RGBrgb(109, 35, 155)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 61%)
CMYKcmyk(29.7%, 77.4%, 0%, 39.2%)
CIE-LABlab(31.39, 52.16, -50.77)
CIE-LCHlch(31.39, 72.78, 315.77°)
OKLaboklab(43.21% 0.1145 -0.1441)
OKLCHoklch(43.21% 0.184 308.5)
XYZxyz(12.8229, 6.8200, 31.6449)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D239B #519B23
analogous
#31239B #6D239B #9B238D
triadic
#6D239B #9B6D23 #239B6D
tetradic
#6D239B #9B3123 #519B23 #238D9B
square
#6D239B #9B3123 #519B23 #238D9B
split-complementary
#6D239B #8D9B23 #239B31
monochromatic
#270C37 #4A1869 #6D239B #902ECD #AB5EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D239B#FFFFFF#000000##FFFFFF
##6D239B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d239b;
/* rgb */ color: rgb(109, 35, 155);
/* oklch */ color: oklch(43.2% 0.184 308.5);
Tailwind
colors: {
  custom: {
    50: '#9c66b9',
    500: '#6d239b',
    950: '#000000',
  },
}
SCSS
$custom: #6d239b;
$custom-light: #9c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d239b",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 277,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.1841,
    "h": 308.5
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6D239B
secondary
#81BF5A
accent
#E64281
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D239B

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

Preview Lab → · Contrast checker → · Palette generator →

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