#6D236E#6D236E

#6D236E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.141 H 327.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6D236E
RGBrgb(109, 35, 110)
HSLhsl(299, 52%, 28%)
HSVhsv(299, 68%, 43%)
CMYKcmyk(0.9%, 68.2%, 0%, 56.9%)
CIE-LABlab(28.33, 42.77, -27.58)
CIE-LCHlch(28.33, 50.90, 327.18°)
OKLaboklab(40.04% 0.1187 -0.0763)
OKLCHoklch(40.04% 0.141 327.3)
XYZxyz(9.7220, 5.5797, 15.3138)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D236E #246E23
analogous
#47236E #6D236E #6E2349
triadic
#6D236E #6E6D23 #236E6D
tetradic
#6D236E #6E4723 #246E23 #23496E
square
#6D236E #6E4723 #246E23 #23496E
split-complementary
#6D236E #496E23 #236E47
monochromatic
#170717 #3F1440 #6D236E #9B329C #C347C4

Accessibility & contrast

On white

9.93
#6D236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D236E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D236E#FFFFFF#000000##FFFFFF
##6D236E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#702D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d236e;
/* rgb */ color: rgb(109, 35, 110);
/* oklch */ color: oklch(40.0% 0.141 327.3);
Tailwind
colors: {
  custom: {
    50: '#996498',
    500: '#6d236e',
    950: '#000000',
  },
}
SCSS
$custom: #6d236e;
$custom-light: #996498;
$custom-dark: #000000;
JSON
{
  "hex": "#6d236e",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 299.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.14114,
    "h": 327.3
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#6D236E
secondary
#4DA14C
accent
#DB4D4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6D236E

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

Preview Lab → · Contrast checker → · Palette generator →

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