#6E236A#6E236A

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

Color values

HEX#6E236A
RGBrgb(110, 35, 106)
HSLhsl(303, 52%, 28%)
HSVhsv(303, 68%, 43%)
CMYKcmyk(0%, 68.2%, 3.6%, 56.9%)
CIE-LABlab(28.27, 42.30, -25.09)
CIE-LCHlch(28.27, 49.18, 329.32°)
OKLaboklab(39.96% 0.1197 -0.0691)
OKLCHoklch(39.96% 0.138 330)
XYZxyz(9.6329, 5.5584, 14.1984)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E236A #236E27
analogous
#4C236E #6E236A #6E2344
triadic
#6E236A #6A6E23 #236A6E
tetradic
#6E236A #6E4C23 #236E27 #23446E
square
#6E236A #6E4C23 #236E27 #23446E
split-complementary
#6E236A #446E23 #236E4C
monochromatic
#170716 #40143D #6E236A #9C3297 #C447BE

Accessibility & contrast

On white

9.95
#6E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E236A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E236A#FFFFFF#000000##FFFFFF
##6E236A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#384668
Tritanopia (blue-blind)
#722C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e236a;
/* rgb */ color: rgb(110, 35, 106);
/* oklch */ color: oklch(40.0% 0.138 330.0);
Tailwind
colors: {
  custom: {
    50: '#9a6495',
    500: '#6e236a',
    950: '#000000',
  },
}
SCSS
$custom: #6e236a;
$custom-light: #9a6495;
$custom-dark: #000000;
JSON
{
  "hex": "#6e236a",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 303.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.13819,
    "h": 330
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#6E236A
secondary
#4CA150
accent
#DB544D
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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