#6A2399#6A2399

#6A2399 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.181 H 307.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6A2399
RGBrgb(106, 35, 153)
HSLhsl(276, 63%, 37%)
HSVhsv(276, 77%, 60%)
CMYKcmyk(30.7%, 77.1%, 0%, 40%)
CIE-LABlab(30.80, 51.14, -50.53)
CIE-LCHlch(30.80, 71.90, 315.34°)
OKLaboklab(42.65% 0.1107 -0.1436)
OKLCHoklch(42.65% 0.181 307.6)
XYZxyz(12.2934, 6.5663, 30.7506)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2399 #529923
analogous
#2F2399 #6A2399 #99238D
triadic
#6A2399 #996A23 #23996A
tetradic
#6A2399 #992F23 #529923 #238D99
square
#6A2399 #992F23 #529923 #238D99
split-complementary
#6A2399 #8D9923 #23992F
monochromatic
#250C35 #471867 #6A2399 #8D2ECB #A85DDA

Accessibility & contrast

On white

9.08
#6A2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6A2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2399
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2399#FFFFFF#000000##FFFFFF
##6A23991.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2399;
/* rgb */ color: rgb(106, 35, 153);
/* oklch */ color: oklch(42.6% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#9966b8',
    500: '#6a2399',
    950: '#000000',
  },
}
SCSS
$custom: #6a2399;
$custom-light: #9966b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2399",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 276.102,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.18131,
    "h": 307.6
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#6A2399
secondary
#82BE59
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2399

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

Preview Lab → · Contrast checker → · Palette generator →

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