#6A236A#6A236A

#6A236A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 327.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6A236A
RGBrgb(106, 35, 106)
HSLhsl(300, 50%, 28%)
HSVhsv(300, 67%, 42%)
CMYKcmyk(0%, 67%, 0%, 58.4%)
CIE-LABlab(27.59, 41.22, -26.20)
CIE-LCHlch(27.59, 48.85, 327.56°)
OKLaboklab(39.34% 0.1149 -0.0724)
OKLCHoklch(39.34% 0.136 327.8)
XYZxyz(9.1463, 5.3075, 14.1756)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A236A #236A23
analogous
#46236A #6A236A #6A2346
triadic
#6A236A #6A6A23 #236A6A
tetradic
#6A236A #6A4623 #236A23 #23466A
square
#6A236A #6A4623 #236A23 #23466A
split-complementary
#6A236A #466A23 #236A46
monochromatic
#170817 #3C143C #6A236A #983298 #C246C2

Accessibility & contrast

On white

10.19
#6A236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A236A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A236A#FFFFFF#000000##FFFFFF
##6A236A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#344468
Tritanopia (blue-blind)
#6D2C43
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a236a;
/* rgb */ color: rgb(106, 35, 106);
/* oklch */ color: oklch(39.3% 0.136 327.8);
Tailwind
colors: {
  custom: {
    50: '#976495',
    500: '#6a236a',
    950: '#000000',
  },
}
SCSS
$custom: #6a236a;
$custom-light: #976495;
$custom-dark: #000000;
JSON
{
  "hex": "#6a236a",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.13577,
    "h": 327.8
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#6A236A
secondary
#4B9D4B
accent
#DA4E4E
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A236A

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

Preview Lab → · Contrast checker → · Palette generator →

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