#6B2D8F#6B2D8F

#6B2D8F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.159 H 310.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6B2D8F
RGBrgb(107, 45, 143)
HSLhsl(278, 52%, 37%)
HSVhsv(278, 69%, 56%)
CMYKcmyk(25.2%, 68.5%, 0%, 43.9%)
CIE-LABlab(31.77, 44.62, -42.81)
CIE-LCHlch(31.77, 61.84, 316.18°)
OKLaboklab(43.14% 0.1032 -0.1209)
OKLCHoklch(43.14% 0.159 310.5)
XYZxyz(11.9588, 6.9860, 26.6997)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2D8F #518F2D
analogous
#3A2D8F #6B2D8F #8F2D82
triadic
#6B2D8F #8F6B2D #2D8F6B
tetradic
#6B2D8F #8F3A2D #518F2D #2D828F
square
#6B2D8F #8F3A2D #518F2D #2D828F
split-complementary
#6B2D8F #828F2D #2D8F3A
monochromatic
#251032 #481E60 #6B2D8F #8E3CBE #A967CF

Accessibility & contrast

On white

8.76
#6B2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6B2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2D8F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2D8F#FFFFFF#000000##FFFFFF
##6B2D8F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#66415A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b2d8f;
/* rgb */ color: rgb(107, 45, 143);
/* oklch */ color: oklch(43.1% 0.159 310.5);
Tailwind
colors: {
  custom: {
    50: '#996bb0',
    500: '#6b2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #6b2d8f;
$custom-light: #996bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2d8f",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 277.959,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.15894,
    "h": 310.5
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#6B2D8F
secondary
#81B662
accent
#DC4C81
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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