#6C2491#6C2491

#6C2491 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 311.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6C2491
RGBrgb(108, 36, 145)
HSLhsl(280, 60%, 35%)
HSVhsv(280, 75%, 57%)
CMYKcmyk(25.5%, 75.2%, 0%, 43.1%)
CIE-LABlab(30.63, 49.33, -45.89)
CIE-LCHlch(30.63, 67.37, 317.07°)
OKLaboklab(42.4% 0.1141 -0.1299)
OKLCHoklch(42.4% 0.173 311.3)
XYZxyz(11.9251, 6.4945, 27.4079)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2491 #499124
analogous
#352491 #6C2491 #91247F
triadic
#6C2491 #916C24 #24916C
tetradic
#6C2491 #913524 #499124 #247F91
square
#6C2491 #913524 #499124 #247F91
split-complementary
#6C2491 #7F9124 #249135
monochromatic
#230C2F #471860 #6C2491 #9130C2 #AC59D6

Accessibility & contrast

On white

9.14
#6C2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2491
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2491#FFFFFF#000000##FFFFFF
##6C24911.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#11498F
Tritanopia (blue-blind)
#673D59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2491;
/* rgb */ color: rgb(108, 36, 145);
/* oklch */ color: oklch(42.4% 0.173 311.3);
Tailwind
colors: {
  custom: {
    50: '#9a66b2',
    500: '#6c2491',
    950: '#000000',
  },
}
SCSS
$custom: #6c2491;
$custom-light: #9a66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2491",
  "rgb": {
    "r": 108,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 279.633,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.17285,
    "h": 311.3
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#6C2491
secondary
#78BA56
accent
#E3447A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2491

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

Preview Lab → · Contrast checker → · Palette generator →

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