#6B1A93#6B1A93

#6B1A93 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.185 H 311.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6B1A93
RGBrgb(107, 26, 147)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(27.2%, 82.3%, 0%, 42.4%)
CIE-LABlab(29.34, 53.28, -49.21)
CIE-LCHlch(29.34, 72.53, 317.27°)
OKLaboklab(41.51% 0.1212 -0.1396)
OKLCHoklch(41.51% 0.185 311)
XYZxyz(11.6982, 5.9715, 28.1345)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A93 #42931A
analogous
#2F1A93 #6B1A93 #931A7F
triadic
#6B1A93 #936B1A #1A936B
tetradic
#6B1A93 #932F1A #42931A #1A7F93
square
#6B1A93 #932F1A #42931A #1A7F93
split-complementary
#6B1A93 #7F931A #1A932F
monochromatic
#1F082B #45115F #6B1A93 #9123C7 #AD49DF

Accessibility & contrast

On white

9.57
#6B1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6B1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A93
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A93#FFFFFF#000000##FFFFFF
##6B1A931.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#663958
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1a93;
/* rgb */ color: rgb(107, 26, 147);
/* oklch */ color: oklch(41.5% 0.185 311.0);
Tailwind
colors: {
  custom: {
    50: '#9a62b3',
    500: '#6b1a93',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a93;
$custom-light: #9a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a93",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 280.165,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18485,
    "h": 311
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#6B1A93
secondary
#70C048
accent
#ED3B76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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