#6E236F#6E236F

#6E236F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.143 H 327.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6E236F
RGBrgb(110, 35, 111)
HSLhsl(299, 52%, 29%)
HSVhsv(299, 68%, 44%)
CMYKcmyk(0.9%, 68.5%, 0%, 56.5%)
CIE-LABlab(28.55, 43.22, -27.86)
CIE-LCHlch(28.55, 51.42, 327.20°)
OKLaboklab(40.26% 0.12 -0.0771)
OKLCHoklch(40.26% 0.143 327.3)
XYZxyz(9.9005, 5.6654, 15.6079)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E236F #246F23
analogous
#48236F #6E236F #6F234A
triadic
#6E236F #6F6E23 #236F6E
tetradic
#6E236F #6F4823 #246F23 #234A6F
square
#6E236F #6F4823 #246F23 #234A6F
split-complementary
#6E236F #4A6F23 #236F48
monochromatic
#170717 #401440 #6E236F #9C329E #C347C5

Accessibility & contrast

On white

9.85
#6E236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E236F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E236F#FFFFFF#000000##FFFFFF
##6E236F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#712E46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e236f;
/* rgb */ color: rgb(110, 35, 111);
/* oklch */ color: oklch(40.3% 0.143 327.3);
Tailwind
colors: {
  custom: {
    50: '#9a6598',
    500: '#6e236f',
    950: '#000000',
  },
}
SCSS
$custom: #6e236f;
$custom-light: #9a6598;
$custom-dark: #000000;
JSON
{
  "hex": "#6e236f",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 299.211,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.14261,
    "h": 327.3
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#6E236F
secondary
#4DA24C
accent
#DB4C4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E236F

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

Preview Lab → · Contrast checker → · Palette generator →

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