#6B2399#6B2399

#6B2399 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 308.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6B2399
RGBrgb(107, 35, 153)
HSLhsl(277, 63%, 37%)
HSVhsv(277, 77%, 60%)
CMYKcmyk(30.1%, 77.1%, 0%, 40%)
CIE-LABlab(30.94, 51.33, -50.29)
CIE-LCHlch(30.94, 71.86, 315.59°)
OKLaboklab(42.78% 0.1121 -0.1428)
OKLCHoklch(42.78% 0.182 308.1)
XYZxyz(12.4130, 6.6280, 30.7562)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2399 #519923
analogous
#302399 #6B2399 #99238C
triadic
#6B2399 #996B23 #23996B
tetradic
#6B2399 #993023 #519923 #238C99
square
#6B2399 #993023 #519923 #238C99
split-complementary
#6B2399 #8C9923 #239930
monochromatic
#250C35 #481867 #6B2399 #8E2ECB #A95DDA

Accessibility & contrast

On white

9.03
#6B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2399
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2399#FFFFFF#000000##FFFFFF
##6B23991.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2399;
/* rgb */ color: rgb(107, 35, 153);
/* oklch */ color: oklch(42.8% 0.182 308.1);
Tailwind
colors: {
  custom: {
    50: '#9a66b8',
    500: '#6b2399',
    950: '#000000',
  },
}
SCSS
$custom: #6b2399;
$custom-light: #9a66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2399",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 276.61,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.18158,
    "h": 308.1
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#6B2399
secondary
#81BE59
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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