#6B2B97#6B2B97

#6B2B97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.170 H 307.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6B2B97
RGBrgb(107, 43, 151)
HSLhsl(276, 56%, 38%)
HSVhsv(276, 72%, 59%)
CMYKcmyk(29.1%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.01, 47.43, -47.34)
CIE-LCHlch(32.01, 67.01, 315.05°)
OKLaboklab(43.48% 0.1045 -0.1342)
OKLCHoklch(43.48% 0.17 307.9)
XYZxyz(12.5120, 7.0881, 29.9812)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2B97 #57972B
analogous
#352B97 #6B2B97 #972B8D
triadic
#6B2B97 #976B2B #2B976B
tetradic
#6B2B97 #97352B #57972B #2B8D97
square
#6B2B97 #97352B #57972B #2B8D97
split-complementary
#6B2B97 #8D972B #2B9735
monochromatic
#271038 #491D67 #6B2B97 #8D39C7 #A868D4

Accessibility & contrast

On white

8.69
#6B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6B2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2B97
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2B97#FFFFFF#000000##FFFFFF
##6B2B971.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#64435E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b2b97;
/* rgb */ color: rgb(107, 43, 151);
/* oklch */ color: oklch(43.5% 0.170 307.9);
Tailwind
colors: {
  custom: {
    50: '#996ab6',
    500: '#6b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #6b2b97;
$custom-light: #996ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2b97",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 275.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.17009,
    "h": 307.9
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#6B2B97
secondary
#87BB63
accent
#DF4986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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