#6D237E#6D237E

#6D237E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.156 H 319.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6D237E
RGBrgb(109, 35, 126)
HSLhsl(289, 57%, 32%)
HSVhsv(289, 72%, 49%)
CMYKcmyk(13.5%, 72.2%, 0%, 50.6%)
CIE-LABlab(29.31, 45.92, -36.17)
CIE-LCHlch(29.31, 58.45, 321.77°)
OKLaboklab(41.07% 0.1186 -0.1013)
OKLCHoklch(41.07% 0.156 319.5)
XYZxyz(10.6731, 5.9601, 20.3228)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D237E #347E23
analogous
#40237E #6D237E #7E2362
triadic
#6D237E #7E6D23 #237E6D
tetradic
#6D237E #7E4023 #347E23 #23627E
square
#6D237E #7E4023 #347E23 #23627E
split-complementary
#6D237E #627E23 #237E40
monochromatic
#1A081E #44164E #6D237E #9630AE #B64ECE

Accessibility & contrast

On white

9.58
#6D237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6D237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D237E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D237E#FFFFFF#000000##FFFFFF
##6D237E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#6D344E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d237e;
/* rgb */ color: rgb(109, 35, 126);
/* oklch */ color: oklch(41.1% 0.156 319.5);
Tailwind
colors: {
  custom: {
    50: '#9a65a4',
    500: '#6d237e',
    950: '#000000',
  },
}
SCSS
$custom: #6d237e;
$custom-light: #9a65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d237e",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 288.791,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.156,
    "h": 319.5
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#6D237E
secondary
#5FB04C
accent
#E04864
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D237E

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

Preview Lab → · Contrast checker → · Palette generator →

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