#6A236D#6A236D

#6A236D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.139 H 326.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6A236D
RGBrgb(106, 35, 109)
HSLhsl(298, 51%, 28%)
HSVhsv(298, 68%, 43%)
CMYKcmyk(2.8%, 67.9%, 0%, 57.3%)
CIE-LABlab(27.77, 41.79, -27.86)
CIE-LCHlch(27.77, 50.23, 326.31°)
OKLaboklab(39.52% 0.115 -0.0772)
OKLCHoklch(39.52% 0.139 326.1)
XYZxyz(9.3050, 5.3709, 15.0116)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A236D #266D23
analogous
#45236D #6A236D #6D234B
triadic
#6A236D #6D6A23 #236D6A
tetradic
#6A236D #6D4523 #266D23 #234B6D
square
#6A236D #6D4523 #266D23 #234B6D
split-complementary
#6A236D #4B6D23 #236D45
monochromatic
#170717 #3D143F #6A236D #97329B #BF47C4

Accessibility & contrast

On white

10.13
#6A236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6A236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A236D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A236D#FFFFFF#000000##FFFFFF
##6A236D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#6D2E45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a236d;
/* rgb */ color: rgb(106, 35, 109);
/* oklch */ color: oklch(39.5% 0.139 326.1);
Tailwind
colors: {
  custom: {
    50: '#976497',
    500: '#6a236d',
    950: '#000000',
  },
}
SCSS
$custom: #6a236d;
$custom-light: #976497;
$custom-dark: #000000;
JSON
{
  "hex": "#6a236d",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 297.568,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3952,
    "c": 0.13852,
    "h": 326.1
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#6A236D
secondary
#4FA04B
accent
#DB4D53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A236D

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

Preview Lab → · Contrast checker → · Palette generator →

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