#6B1A92#6B1A92

#6B1A92 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.184 H 311.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6B1A92
RGBrgb(107, 26, 146)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 57%)
CMYKcmyk(26.7%, 82.2%, 0%, 42.7%)
CIE-LABlab(29.26, 53.07, -48.73)
CIE-LCHlch(29.26, 72.04, 317.44°)
OKLaboklab(41.43% 0.1214 -0.1382)
OKLCHoklch(41.43% 0.184 311.3)
XYZxyz(11.6201, 5.9402, 27.7230)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A92 #41921A
analogous
#2F1A92 #6B1A92 #921A7D
triadic
#6B1A92 #926B1A #1A926B
tetradic
#6B1A92 #922F1A #41921A #1A7D92
square
#6B1A92 #922F1A #41921A #1A7D92
split-complementary
#6B1A92 #7D921A #1A922F
monochromatic
#1F072A #45115E #6B1A92 #9123C6 #AE48DE

Accessibility & contrast

On white

9.60
#6B1A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1A92
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A92#FFFFFF#000000##FFFFFF
##6B1A921.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#663957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1a92;
/* rgb */ color: rgb(107, 26, 146);
/* oklch */ color: oklch(41.4% 0.184 311.3);
Tailwind
colors: {
  custom: {
    50: '#9a62b3',
    500: '#6b1a92',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a92;
$custom-light: #9a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a92",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 280.5,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.18393,
    "h": 311.3
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#6B1A92
secondary
#6FC048
accent
#ED3B75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1A92

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

Preview Lab → · Contrast checker → · Palette generator →

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