#6B2499#6B2499

#6B2499 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.180 H 308.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6B2499
RGBrgb(107, 36, 153)
HSLhsl(276, 62%, 37%)
HSVhsv(276, 76%, 60%)
CMYKcmyk(30.1%, 76.5%, 0%, 40%)
CIE-LABlab(31.09, 50.93, -50.06)
CIE-LCHlch(31.09, 71.41, 315.49°)
OKLaboklab(42.88% 0.1112 -0.1422)
OKLCHoklch(42.88% 0.18 308)
XYZxyz(12.4428, 6.6877, 30.7662)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2499 #529924
analogous
#302499 #6B2499 #99248D
triadic
#6B2499 #996B24 #24996B
tetradic
#6B2499 #993024 #529924 #248D99
square
#6B2499 #993024 #529924 #248D99
split-complementary
#6B2499 #8D9924 #249930
monochromatic
#260D36 #481867 #6B2499 #8E30CB #A95ED9

Accessibility & contrast

On white

8.98
#6B2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2499
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2499#FFFFFF#000000##FFFFFF
##6B24991.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#64405D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b2499;
/* rgb */ color: rgb(107, 36, 153);
/* oklch */ color: oklch(42.9% 0.180 308.0);
Tailwind
colors: {
  custom: {
    50: '#9a67b8',
    500: '#6b2499',
    950: '#000000',
  },
}
SCSS
$custom: #6b2499;
$custom-light: #9a67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2499",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 276.41,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.18049,
    "h": 308
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#6B2499
secondary
#82BE5B
accent
#E54383
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2499

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

Preview Lab → · Contrast checker → · Palette generator →

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