#6D239C#6D239C

#6D239C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 308.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6D239C
RGBrgb(109, 35, 156)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 78%, 61%)
CMYKcmyk(30.1%, 77.6%, 0%, 38.8%)
CIE-LABlab(31.47, 52.38, -51.25)
CIE-LCHlch(31.47, 73.28, 315.63°)
OKLaboklab(43.29% 0.1143 -0.1456)
OKLCHoklch(43.29% 0.185 308.1)
XYZxyz(12.9072, 6.8538, 32.0890)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D239C #529C23
analogous
#30239C #6D239C #9C238F
triadic
#6D239C #9C6D23 #239C6D
tetradic
#6D239C #9C3023 #529C23 #238F9C
square
#6D239C #9C3023 #529C23 #238F9C
split-complementary
#6D239C #8F9C23 #239C30
monochromatic
#270D38 #4A186A #6D239C #902ECE #AB5EDB

Accessibility & contrast

On white

8.86
#6D239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D239C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D239C#FFFFFF#000000##FFFFFF
##6D239C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#65415F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d239c;
/* rgb */ color: rgb(109, 35, 156);
/* oklch */ color: oklch(43.3% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#9c66ba',
    500: '#6d239c',
    950: '#000000',
  },
}
SCSS
$custom: #6d239c;
$custom-light: #9c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d239c",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 276.694,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.18508,
    "h": 308.1
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#6D239C
secondary
#82C05B
accent
#E64181
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D239C

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

Preview Lab → · Contrast checker → · Palette generator →

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