#6C1994#6C1994

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

Color values

HEX#6C1994
RGBrgb(108, 25, 148)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(27%, 83.1%, 0%, 42%)
CIE-LABlab(29.47, 53.99, -49.62)
CIE-LCHlch(29.47, 73.32, 317.42°)
OKLaboklab(41.65% 0.1231 -0.1407)
OKLCHoklch(41.65% 0.187 311.2)
XYZxyz(11.8762, 6.0218, 28.5479)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1994 #419419
analogous
#2F1994 #6C1994 #94197F
triadic
#6C1994 #946C19 #19946C
tetradic
#6C1994 #942F19 #419419 #197F94
square
#6C1994 #942F19 #419419 #197F94
split-complementary
#6C1994 #7F9419 #19942F
monochromatic
#20072B #461060 #6C1994 #9222C8 #AE47E0

Accessibility & contrast

On white

9.53
#6C1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6C1994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1994
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1994#FFFFFF#000000##FFFFFF
##6C19941.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1994;
/* rgb */ color: rgb(108, 25, 148);
/* oklch */ color: oklch(41.7% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#9b62b4',
    500: '#6c1994',
    950: '#000000',
  },
}
SCSS
$custom: #6c1994;
$custom-light: #9b62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1994",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 280.488,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.18695,
    "h": 311.2
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C1994

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

Preview Lab → · Contrast checker → · Palette generator →

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