#6A2491#6A2491

#6A2491 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.172 H 310.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6A2491
RGBrgb(106, 36, 145)
HSLhsl(279, 60%, 35%)
HSVhsv(279, 75%, 57%)
CMYKcmyk(26.9%, 75.2%, 0%, 43.1%)
CIE-LABlab(30.33, 48.92, -46.39)
CIE-LCHlch(30.33, 67.42, 316.52°)
OKLaboklab(42.12% 0.1113 -0.1314)
OKLCHoklch(42.12% 0.172 310.3)
XYZxyz(11.6846, 6.3705, 27.3967)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2491 #4B9124
analogous
#332491 #6A2491 #912481
triadic
#6A2491 #916A24 #24916A
tetradic
#6A2491 #913324 #4B9124 #248191
square
#6A2491 #913324 #4B9124 #248191
split-complementary
#6A2491 #819124 #249133
monochromatic
#220C2F #461860 #6A2491 #8E30C2 #A959D6

Accessibility & contrast

On white

9.23
#6A2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6A2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2491
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2491#FFFFFF#000000##FFFFFF
##6A24911.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#0C488F
Tritanopia (blue-blind)
#653D59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2491;
/* rgb */ color: rgb(106, 36, 145);
/* oklch */ color: oklch(42.1% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#9966b2',
    500: '#6a2491',
    950: '#000000',
  },
}
SCSS
$custom: #6a2491;
$custom-light: #9966b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2491",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 278.532,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.17221,
    "h": 310.3
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#6A2491
secondary
#7ABA56
accent
#E3447D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2491

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

Preview Lab → · Contrast checker → · Palette generator →

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