#6B2D8B#6B2D8B

#6B2D8B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.155 H 312.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6B2D8B
RGBrgb(107, 45, 139)
HSLhsl(280, 51%, 36%)
HSVhsv(280, 68%, 55%)
CMYKcmyk(23%, 67.6%, 0%, 45.5%)
CIE-LABlab(31.50, 43.70, -40.78)
CIE-LCHlch(31.50, 59.77, 316.98°)
OKLaboklab(42.85% 0.1035 -0.115)
OKLCHoklch(42.85% 0.155 312)
XYZxyz(11.6611, 6.8670, 25.1323)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2D8B #4D8B2D
analogous
#3C2D8B #6B2D8B #8B2D7C
triadic
#6B2D8B #8B6B2D #2D8B6B
tetradic
#6B2D8B #8B3C2D #4D8B2D #2D7C8B
square
#6B2D8B #8B3C2D #4D8B2D #2D7C8B
split-complementary
#6B2D8B #7C8B2D #2D8B3C
monochromatic
#240F2F #471E5D #6B2D8B #8F3CB9 #AA65CD

Accessibility & contrast

On white

8.85
#6B2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2D8B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2D8B#FFFFFF#000000##FFFFFF
##6B2D8B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#674058
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2d8b;
/* rgb */ color: rgb(107, 45, 139);
/* oklch */ color: oklch(42.9% 0.155 312.0);
Tailwind
colors: {
  custom: {
    50: '#996bad',
    500: '#6b2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #6b2d8b;
$custom-light: #996bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2d8b",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 279.574,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.15467,
    "h": 312
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#6B2D8B
secondary
#7DB460
accent
#DB4D7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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