#6B1A95#6B1A95

#6B1A95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.187 H 310.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6B1A95
RGBrgb(107, 26, 149)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(28.2%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.50, 53.71, -50.18)
CIE-LCHlch(29.50, 73.50, 316.94°)
OKLaboklab(41.67% 0.1207 -0.1424)
OKLCHoklch(41.67% 0.187 310.3)
XYZxyz(11.8565, 6.0348, 28.9682)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A95 #44951A
analogous
#2D1A95 #6B1A95 #951A82
triadic
#6B1A95 #956B1A #1A956B
tetradic
#6B1A95 #952D1A #44951A #1A8295
square
#6B1A95 #952D1A #44951A #1A8295
split-complementary
#6B1A95 #82951A #1A952D
monochromatic
#20082D #461161 #6B1A95 #9023C9 #AC4ADF

Accessibility & contrast

On white

9.52
#6B1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A95
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A95#FFFFFF#000000##FFFFFF
##6B1A951.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#653A59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1a95;
/* rgb */ color: rgb(107, 26, 149);
/* oklch */ color: oklch(41.7% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#9a62b5',
    500: '#6b1a95',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a95;
$custom-light: #9a62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a95",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 279.512,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.18668,
    "h": 310.3
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#6B1A95
secondary
#72C14A
accent
#ED3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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