#6B1F91#6B1F91

#6B1F91 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.178 H 311.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6B1F91
RGBrgb(107, 31, 145)
HSLhsl(280, 65%, 35%)
HSVhsv(280, 79%, 57%)
CMYKcmyk(26.2%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.79, 51.10, -47.25)
CIE-LCHlch(29.79, 69.60, 317.24°)
OKLaboklab(41.77% 0.1174 -0.1339)
OKLCHoklch(41.77% 0.178 311.3)
XYZxyz(11.6633, 6.1504, 27.3553)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1F91 #45911F
analogous
#321F91 #6B1F91 #911F7E
triadic
#6B1F91 #916B1F #1F916B
tetradic
#6B1F91 #91321F #45911F #1F7E91
square
#6B1F91 #91321F #45911F #1F7E91
split-complementary
#6B1F91 #7E911F #1F9132
monochromatic
#21092C #46145F #6B1F91 #902AC3 #AC51DA

Accessibility & contrast

On white

9.42
#6B1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1F91
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1F91#FFFFFF#000000##FFFFFF
##6B1F911.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#04478F
Tritanopia (blue-blind)
#663A57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1f91;
/* rgb */ color: rgb(107, 31, 145);
/* oklch */ color: oklch(41.8% 0.178 311.3);
Tailwind
colors: {
  custom: {
    50: '#9a64b2',
    500: '#6b1f91',
    950: '#000000',
  },
}
SCSS
$custom: #6b1f91;
$custom-light: #9a64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1f91",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 280,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.17808,
    "h": 311.3
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#6B1F91
secondary
#74BD4F
accent
#E84078
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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