#6B2096#6B2096

#6B2096 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.182 H 309.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6B2096
RGBrgb(107, 32, 150)
HSLhsl(278, 65%, 36%)
HSVhsv(278, 79%, 59%)
CMYKcmyk(28.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(30.31, 51.82, -49.49)
CIE-LCHlch(30.31, 71.66, 316.32°)
OKLaboklab(42.26% 0.1155 -0.1404)
OKLCHoklch(42.26% 0.182 309.4)
XYZxyz(12.0838, 6.3611, 29.4395)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2096 #4B9620
analogous
#302096 #6B2096 #962086
triadic
#6B2096 #966B20 #20966B
tetradic
#6B2096 #963020 #4B9620 #208696
square
#6B2096 #963020 #4B9620 #208696
split-complementary
#6B2096 #869620 #209630
monochromatic
#230A31 #471564 #6B2096 #8F2BC8 #AA56DB

Accessibility & contrast

On white

9.24
#6B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2096
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2096#FFFFFF#000000##FFFFFF
##6B20961.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#653D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2096;
/* rgb */ color: rgb(107, 32, 150);
/* oklch */ color: oklch(42.3% 0.182 309.4);
Tailwind
colors: {
  custom: {
    50: '#9a65b6',
    500: '#6b2096',
    950: '#000000',
  },
}
SCSS
$custom: #6b2096;
$custom-light: #9a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2096",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 278.136,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.18184,
    "h": 309.4
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#6B2096
secondary
#7ABE53
accent
#E8407D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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