#6C1995#6C1995

#6C1995 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.188 H 310.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6C1995
RGBrgb(108, 25, 149)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(27.5%, 83.2%, 0%, 41.6%)
CIE-LABlab(29.55, 54.20, -50.10)
CIE-LCHlch(29.55, 73.81, 317.25°)
OKLaboklab(41.73% 0.1228 -0.1422)
OKLCHoklch(41.73% 0.188 310.8)
XYZxyz(11.9557, 6.0536, 28.9666)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1995 #429519
analogous
#2E1995 #6C1995 #951980
triadic
#6C1995 #956C19 #19956C
tetradic
#6C1995 #952E19 #429519 #198095
square
#6C1995 #952E19 #429519 #198095
split-complementary
#6C1995 #809519 #19952E
monochromatic
#20072C #461061 #6C1995 #9222C9 #AE48E0

Accessibility & contrast

On white

9.50
#6C1995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C1995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1995
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1995#FFFFFF#000000##FFFFFF
##6C19951.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#663A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c1995;
/* rgb */ color: rgb(108, 25, 149);
/* oklch */ color: oklch(41.7% 0.188 310.8);
Tailwind
colors: {
  custom: {
    50: '#9b62b5',
    500: '#6c1995',
    950: '#000000',
  },
}
SCSS
$custom: #6c1995;
$custom-light: #9b62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1995",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 280.161,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.18785,
    "h": 310.8
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#6C1995
secondary
#70C248
accent
#EE3A75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1995

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

Preview Lab → · Contrast checker → · Palette generator →

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