#6B1F92#6B1F92

#6B1F92 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 310.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6B1F92
RGBrgb(107, 31, 146)
HSLhsl(280, 65%, 35%)
HSVhsv(280, 79%, 57%)
CMYKcmyk(26.7%, 78.8%, 0%, 42.7%)
CIE-LABlab(29.87, 51.32, -47.74)
CIE-LCHlch(29.87, 70.09, 317.06°)
OKLaboklab(41.85% 0.1172 -0.1353)
OKLCHoklch(41.85% 0.179 310.9)
XYZxyz(11.7407, 6.1814, 27.7632)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1F92 #46921F
analogous
#311F92 #6B1F92 #921F80
triadic
#6B1F92 #926B1F #1F926B
tetradic
#6B1F92 #92311F #46921F #1F8092
square
#6B1F92 #92311F #46921F #1F8092
split-complementary
#6B1F92 #80921F #1F9231
monochromatic
#210A2D #461460 #6B1F92 #902AC4 #AC51DA

Accessibility & contrast

On white

9.39
#6B1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1F92
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1F92#FFFFFF#000000##FFFFFF
##6B1F921.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#014890
Tritanopia (blue-blind)
#663B58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1f92;
/* rgb */ color: rgb(107, 31, 146);
/* oklch */ color: oklch(41.9% 0.179 310.9);
Tailwind
colors: {
  custom: {
    50: '#9a64b3',
    500: '#6b1f92',
    950: '#000000',
  },
}
SCSS
$custom: #6b1f92;
$custom-light: #9a64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1f92",
  "rgb": {
    "r": 107,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 279.652,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.17904,
    "h": 310.9
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#6B1F92
secondary
#75BD50
accent
#E84079
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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