#6C237F#6C237F

#6C237F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.157 H 318.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6C237F
RGBrgb(108, 35, 127)
HSLhsl(288, 57%, 32%)
HSVhsv(288, 72%, 50%)
CMYKcmyk(15%, 72.4%, 0%, 50.2%)
CIE-LABlab(29.22, 45.89, -36.96)
CIE-LCHlch(29.22, 58.92, 321.15°)
OKLaboklab(40.99% 0.1173 -0.1037)
OKLCHoklch(40.99% 0.157 318.5)
XYZxyz(10.6156, 5.9230, 20.6586)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C237F #367F23
analogous
#3E237F #6C237F #7F2364
triadic
#6C237F #7F6C23 #237F6C
tetradic
#6C237F #7F3E23 #367F23 #23647F
square
#6C237F #7F3E23 #367F23 #23647F
split-complementary
#6C237F #647F23 #237F3E
monochromatic
#1A091F #43164F #6C237F #9530AF #B44ECE

Accessibility & contrast

On white

9.61
#6C237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6C237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C237F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C237F#FFFFFF#000000##FFFFFF
##6C237F1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#6C354E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c237f;
/* rgb */ color: rgb(108, 35, 127);
/* oklch */ color: oklch(41.0% 0.157 318.5);
Tailwind
colors: {
  custom: {
    50: '#9965a5',
    500: '#6c237f',
    950: '#000000',
  },
}
SCSS
$custom: #6c237f;
$custom-light: #9965a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c237f",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 287.609,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4099,
    "c": 0.15652,
    "h": 318.5
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#6C237F
secondary
#61B14C
accent
#E04867
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C237F

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

Preview Lab → · Contrast checker → · Palette generator →

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