#6B2A91#6B2A91

#6B2A91 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 310.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6B2A91
RGBrgb(107, 42, 145)
HSLhsl(278, 55%, 37%)
HSVhsv(278, 71%, 57%)
CMYKcmyk(26.2%, 71%, 0%, 43.1%)
CIE-LABlab(31.41, 46.50, -44.63)
CIE-LCHlch(31.41, 64.45, 316.17°)
OKLaboklab(42.92% 0.1064 -0.1262)
OKLCHoklch(42.92% 0.165 310.1)
XYZxyz(12.0012, 6.8263, 27.4680)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A91 #50912A
analogous
#382A91 #6B2A91 #912A84
triadic
#6B2A91 #916B2A #2A916B
tetradic
#6B2A91 #91382A #50912A #2A8491
square
#6B2A91 #91382A #50912A #2A8491
split-complementary
#6B2A91 #84912A #2A9138
monochromatic
#250F32 #481C62 #6B2A91 #8E38C0 #A963D2

Accessibility & contrast

On white

8.88
#6B2A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2A91
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A91#FFFFFF#000000##FFFFFF
##6B2A911.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#184B8F
Tritanopia (blue-blind)
#66405A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2a91;
/* rgb */ color: rgb(107, 42, 145);
/* oklch */ color: oklch(42.9% 0.165 310.1);
Tailwind
colors: {
  custom: {
    50: '#9969b2',
    500: '#6b2a91',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a91;
$custom-light: #9969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a91",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 277.864,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.16509,
    "h": 310.1
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#6B2A91
secondary
#80B85F
accent
#DE4980
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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