#6D237C#6D237C

#6D237C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 320.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6D237C
RGBrgb(109, 35, 124)
HSLhsl(290, 56%, 31%)
HSVhsv(290, 72%, 49%)
CMYKcmyk(12.1%, 71.8%, 0%, 51.4%)
CIE-LABlab(29.18, 45.51, -35.12)
CIE-LCHlch(29.18, 57.49, 322.34°)
OKLaboklab(40.93% 0.1187 -0.0983)
OKLCHoklch(40.93% 0.154 320.4)
XYZxyz(10.5454, 5.9090, 19.6500)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D237C #327C23
analogous
#40237C #6D237C #7C235E
triadic
#6D237C #7C6D23 #237C6D
tetradic
#6D237C #7C4023 #327C23 #235E7C
square
#6D237C #7C4023 #327C23 #235E7C
split-complementary
#6D237C #5E7C23 #237C40
monochromatic
#19081D #43164C #6D237C #9730AC #B74DCD

Accessibility & contrast

On white

9.63
#6D237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D237C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D237C#FFFFFF#000000##FFFFFF
##6D237C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2C477A
Tritanopia (blue-blind)
#6E334D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d237c;
/* rgb */ color: rgb(109, 35, 124);
/* oklch */ color: oklch(40.9% 0.154 320.4);
Tailwind
colors: {
  custom: {
    50: '#9a65a2',
    500: '#6d237c',
    950: '#000000',
  },
}
SCSS
$custom: #6d237c;
$custom-light: #9a65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d237c",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 289.888,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.15411,
    "h": 320.4
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#6D237C
secondary
#5DAF4C
accent
#DF4962
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D237C

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

Preview Lab → · Contrast checker → · Palette generator →

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