#6B1A8F#6B1A8F

#6B1A8F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.181 H 312.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6B1A8F
RGBrgb(107, 26, 143)
HSLhsl(282, 69%, 33%)
HSVhsv(282, 82%, 56%)
CMYKcmyk(25.2%, 81.8%, 0%, 43.9%)
CIE-LABlab(29.03, 52.43, -47.26)
CIE-LCHlch(29.03, 70.58, 317.97°)
OKLaboklab(41.19% 0.1221 -0.1338)
OKLCHoklch(41.19% 0.181 312.4)
XYZxyz(11.3898, 5.8481, 26.5101)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A8F #3E8F1A
analogous
#301A8F #6B1A8F #8F1A79
triadic
#6B1A8F #8F6B1A #1A8F6B
tetradic
#6B1A8F #8F301A #3E8F1A #1A798F
square
#6B1A8F #8F301A #3E8F1A #1A798F
split-complementary
#6B1A8F #798F1A #1A8F30
monochromatic
#1E0727 #44115B #6B1A8F #9223C3 #AF46DD

Accessibility & contrast

On white

9.68
#6B1A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6B1A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A8F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A8F#FFFFFF#000000##FFFFFF
##6B1A8F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#673755
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1a8f;
/* rgb */ color: rgb(107, 26, 143);
/* oklch */ color: oklch(41.2% 0.181 312.4);
Tailwind
colors: {
  custom: {
    50: '#9a62b1',
    500: '#6b1a8f',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a8f;
$custom-light: #9a62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a8f",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 281.538,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.18117,
    "h": 312.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#6B1A8F
secondary
#6BBF46
accent
#EC3C72
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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