#6B2599#6B2599

#6B2599 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.179 H 307.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6B2599
RGBrgb(107, 37, 153)
HSLhsl(276, 61%, 37%)
HSVhsv(276, 76%, 60%)
CMYKcmyk(30.1%, 75.8%, 0%, 40%)
CIE-LABlab(31.23, 50.52, -49.83)
CIE-LCHlch(31.23, 70.96, 315.39°)
OKLaboklab(42.98% 0.1103 -0.1415)
OKLCHoklch(42.98% 0.179 307.9)
XYZxyz(12.4735, 6.7490, 30.7764)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2599 #539925
analogous
#312599 #6B2599 #99258D
triadic
#6B2599 #996B25 #25996B
tetradic
#6B2599 #993125 #539925 #258D99
square
#6B2599 #993125 #539925 #258D99
split-complementary
#6B2599 #8D9925 #259931
monochromatic
#260D36 #491968 #6B2599 #8D31CA #A960D9

Accessibility & contrast

On white

8.94
#6B2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2599
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2599#FFFFFF#000000##FFFFFF
##6B25991.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2599;
/* rgb */ color: rgb(107, 37, 153);
/* oklch */ color: oklch(43.0% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#9a67b8',
    500: '#6b2599',
    950: '#000000',
  },
}
SCSS
$custom: #6b2599;
$custom-light: #9a67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2599",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 276.207,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.17937,
    "h": 307.9
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#6B2599
secondary
#83BE5C
accent
#E44483
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2599

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

Preview Lab → · Contrast checker → · Palette generator →

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