#6B1994#6B1994

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

Color values

HEX#6B1994
RGBrgb(107, 25, 148)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(27.7%, 83.1%, 0%, 42%)
CIE-LABlab(29.31, 53.81, -49.88)
CIE-LCHlch(29.31, 73.37, 317.17°)
OKLaboklab(41.51% 0.1217 -0.1415)
OKLCHoklch(41.51% 0.187 310.7)
XYZxyz(11.7553, 5.9595, 28.5423)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1994 #429419
analogous
#2E1994 #6B1994 #941980
triadic
#6B1994 #946B19 #19946B
tetradic
#6B1994 #942E19 #429419 #198094
square
#6B1994 #942E19 #429419 #198094
split-complementary
#6B1994 #809419 #19942E
monochromatic
#1F072B #451060 #6B1994 #9122C8 #AD47E0

Accessibility & contrast

On white

9.58
#6B1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1994
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1994#FFFFFF#000000##FFFFFF
##6B19941.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#653958
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1994;
/* rgb */ color: rgb(107, 25, 148);
/* oklch */ color: oklch(41.5% 0.187 310.7);
Tailwind
colors: {
  custom: {
    50: '#9a62b4',
    500: '#6b1994',
    950: '#000000',
  },
}
SCSS
$custom: #6b1994;
$custom-light: #9a62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1994",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 280,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.18665,
    "h": 310.7
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#6B1994
secondary
#70C147
accent
#EE3A76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1994

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

Preview Lab → · Contrast checker → · Palette generator →

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