#6C2391#6C2391

#6C2391 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 311.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6C2391
RGBrgb(108, 35, 145)
HSLhsl(280, 61%, 35%)
HSVhsv(280, 76%, 57%)
CMYKcmyk(25.5%, 75.9%, 0%, 43.1%)
CIE-LABlab(30.48, 49.74, -46.12)
CIE-LCHlch(30.48, 67.83, 317.16°)
OKLaboklab(42.29% 0.1151 -0.1305)
OKLCHoklch(42.29% 0.174 311.4)
XYZxyz(11.8952, 6.4348, 27.3980)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2391 #489123
analogous
#352391 #6C2391 #91237F
triadic
#6C2391 #916C23 #23916C
tetradic
#6C2391 #913523 #489123 #237F91
square
#6C2391 #913523 #489123 #237F91
split-complementary
#6C2391 #7F9123 #239135
monochromatic
#230B2E #471760 #6C2391 #912FC2 #AC58D7

Accessibility & contrast

On white

9.18
#6C2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2391
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2391#FFFFFF#000000##FFFFFF
##6C23911.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#10498F
Tritanopia (blue-blind)
#673C58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c2391;
/* rgb */ color: rgb(108, 35, 145);
/* oklch */ color: oklch(42.3% 0.174 311.4);
Tailwind
colors: {
  custom: {
    50: '#9a66b2',
    500: '#6c2391',
    950: '#000000',
  },
}
SCSS
$custom: #6c2391;
$custom-light: #9a66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2391",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 279.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.17401,
    "h": 311.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#6C2391
secondary
#77BB55
accent
#E4447A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2391

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

Preview Lab → · Contrast checker → · Palette generator →

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