#6B1993#6B1993

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

Color values

HEX#6B1993
RGBrgb(107, 25, 147)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(27.2%, 83%, 0%, 42.4%)
CIE-LABlab(29.23, 53.60, -49.39)
CIE-LCHlch(29.23, 72.89, 317.34°)
OKLaboklab(41.43% 0.1219 -0.1401)
OKLCHoklch(41.43% 0.186 311)
XYZxyz(11.6765, 5.9279, 28.1272)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1993 #419319
analogous
#2E1993 #6B1993 #93197E
triadic
#6B1993 #936B19 #19936B
tetradic
#6B1993 #932E19 #419319 #197E93
square
#6B1993 #932E19 #419319 #197E93
split-complementary
#6B1993 #7E9319 #19932E
monochromatic
#1F072A #45105F #6B1993 #9122C7 #AE47E0

Accessibility & contrast

On white

9.61
#6B1993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1993
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1993#FFFFFF#000000##FFFFFF
##6B19931.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1993;
/* rgb */ color: rgb(107, 25, 147);
/* oklch */ color: oklch(41.4% 0.186 311.0);
Tailwind
colors: {
  custom: {
    50: '#9a62b3',
    500: '#6b1993',
    950: '#000000',
  },
}
SCSS
$custom: #6b1993;
$custom-light: #9a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1993",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 280.328,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.18574,
    "h": 311
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#6B1993
secondary
#6FC147
accent
#EE3A75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1993

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

Preview Lab → · Contrast checker → · Palette generator →

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