#6A2499#6A2499

#6A2499 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.180 H 307.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6A2499
RGBrgb(106, 36, 153)
HSLhsl(276, 62%, 37%)
HSVhsv(276, 76%, 60%)
CMYKcmyk(30.7%, 76.5%, 0%, 40%)
CIE-LABlab(30.94, 50.74, -50.30)
CIE-LCHlch(30.94, 71.45, 315.25°)
OKLaboklab(42.75% 0.1098 -0.1429)
OKLCHoklch(42.75% 0.18 307.5)
XYZxyz(12.3233, 6.6260, 30.7606)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2499 #539924
analogous
#2F2499 #6A2499 #99248E
triadic
#6A2499 #996A24 #24996A
tetradic
#6A2499 #992F24 #539924 #248E99
square
#6A2499 #992F24 #539924 #248E99
split-complementary
#6A2499 #8E9924 #24992F
monochromatic
#250D36 #481867 #6A2499 #8C30CB #A85ED9

Accessibility & contrast

On white

9.03
#6A2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2499
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2499#FFFFFF#000000##FFFFFF
##6A24991.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2499;
/* rgb */ color: rgb(106, 36, 153);
/* oklch */ color: oklch(42.7% 0.180 307.5);
Tailwind
colors: {
  custom: {
    50: '#9966b8',
    500: '#6a2499',
    950: '#000000',
  },
}
SCSS
$custom: #6a2499;
$custom-light: #9966b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2499",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 275.897,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.18021,
    "h": 307.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#6A2499
secondary
#83BE5B
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2499

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

Preview Lab → · Contrast checker → · Palette generator →

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