#6E236E#6E236E

#6E236E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 327.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6E236E
RGBrgb(110, 35, 110)
HSLhsl(300, 52%, 28%)
HSVhsv(300, 68%, 43%)
CMYKcmyk(0%, 68.2%, 0%, 56.9%)
CIE-LABlab(28.49, 43.04, -27.31)
CIE-LCHlch(28.49, 50.97, 327.60°)
OKLaboklab(40.2% 0.1199 -0.0755)
OKLCHoklch(40.2% 0.142 327.8)
XYZxyz(9.8458, 5.6435, 15.3196)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E236E #236E23
analogous
#48236E #6E236E #6E2348
triadic
#6E236E #6E6E23 #236E6E
tetradic
#6E236E #6E4823 #236E23 #23486E
square
#6E236E #6E4823 #236E23 #23486E
split-complementary
#6E236E #486E23 #236E48
monochromatic
#170717 #401440 #6E236E #9C329C #C447C4

Accessibility & contrast

On white

9.87
#6E236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E236E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E236E#FFFFFF#000000##FFFFFF
##6E236E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#35476C
Tritanopia (blue-blind)
#712D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e236e;
/* rgb */ color: rgb(110, 35, 110);
/* oklch */ color: oklch(40.2% 0.142 327.8);
Tailwind
colors: {
  custom: {
    50: '#9a6598',
    500: '#6e236e',
    950: '#000000',
  },
}
SCSS
$custom: #6e236e;
$custom-light: #9a6598;
$custom-dark: #000000;
JSON
{
  "hex": "#6e236e",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 300,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.14171,
    "h": 327.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#6E236E
secondary
#4CA14C
accent
#DB4D4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6E236E

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

Preview Lab → · Contrast checker → · Palette generator →

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