#6B2491#6B2491

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

Color values

HEX#6B2491
RGBrgb(107, 36, 145)
HSLhsl(279, 60%, 35%)
HSVhsv(279, 75%, 57%)
CMYKcmyk(26.2%, 75.2%, 0%, 43.1%)
CIE-LABlab(30.48, 49.13, -46.14)
CIE-LCHlch(30.48, 67.39, 316.80°)
OKLaboklab(42.26% 0.1127 -0.1306)
OKLCHoklch(42.26% 0.173 310.8)
XYZxyz(11.8041, 6.4322, 27.4023)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2491 #4A9124
analogous
#352491 #6B2491 #912480
triadic
#6B2491 #916B24 #24916B
tetradic
#6B2491 #913524 #4A9124 #248091
square
#6B2491 #913524 #4A9124 #248091
split-complementary
#6B2491 #809124 #249135
monochromatic
#230C2F #471860 #6B2491 #8F30C2 #AB59D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2491#FFFFFF#000000##FFFFFF
##6B24911.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)
#004594
Deuteranopia (green-blind)
#0F498F
Tritanopia (blue-blind)
#663D59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2491;
/* rgb */ color: rgb(107, 36, 145);
/* oklch */ color: oklch(42.3% 0.173 310.8);
Tailwind
colors: {
  custom: {
    50: '#9966b2',
    500: '#6b2491',
    950: '#000000',
  },
}
SCSS
$custom: #6b2491;
$custom-light: #9966b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2491",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 279.083,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.17253,
    "h": 310.8
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#6B2491
secondary
#79BA56
accent
#E3447C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2491

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

Preview Lab → · Contrast checker → · Palette generator →

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