#6C2595#6C2595

#6C2595 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.176 H 309.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6C2595
RGBrgb(108, 37, 149)
HSLhsl(278, 60%, 36%)
HSVhsv(278, 75%, 58%)
CMYKcmyk(27.5%, 75.2%, 0%, 41.6%)
CIE-LABlab(31.07, 49.81, -47.63)
CIE-LCHlch(31.07, 68.91, 316.28°)
OKLaboklab(42.8% 0.1124 -0.135)
OKLCHoklch(42.8% 0.176 309.8)
XYZxyz(12.2696, 6.6815, 29.0712)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2595 #4E9525
analogous
#342595 #6C2595 #952586
triadic
#6C2595 #956C25 #25956C
tetradic
#6C2595 #953425 #4E9525 #258695
square
#6C2595 #953425 #4E9525 #258695
split-complementary
#6C2595 #869525 #259534
monochromatic
#250D33 #481964 #6C2595 #9031C6 #AA5ED7

Accessibility & contrast

On white

8.99
#6C2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2595
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2595#FFFFFF#000000##FFFFFF
##6C25951.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#663F5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c2595;
/* rgb */ color: rgb(108, 37, 149);
/* oklch */ color: oklch(42.8% 0.176 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a67b5',
    500: '#6c2595',
    950: '#000000',
  },
}
SCSS
$custom: #6c2595;
$custom-light: #9a67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2595",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 278.036,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.17565,
    "h": 309.8
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#6C2595
secondary
#7EBC5A
accent
#E3447F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C2595

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

Preview Lab → · Contrast checker → · Palette generator →

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