#6C2F96#6C2F96

#6C2F96 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.164 H 308.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6C2F96
RGBrgb(108, 47, 150)
HSLhsl(276, 52%, 39%)
HSVhsv(276, 69%, 59%)
CMYKcmyk(28%, 68.7%, 0%, 41.2%)
CIE-LABlab(32.75, 45.51, -45.52)
CIE-LCHlch(32.75, 64.37, 314.99°)
OKLaboklab(44.02% 0.1015 -0.1289)
OKLCHoklch(44.02% 0.164 308.2)
XYZxyz(12.7047, 7.4234, 29.6118)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2F96 #59962F
analogous
#382F96 #6C2F96 #962F8C
triadic
#6C2F96 #966C2F #2F966C
tetradic
#6C2F96 #96382F #59962F #2F8C96
square
#6C2F96 #96382F #59962F #2F8C96
split-complementary
#6C2F96 #8C962F #2F9638
monochromatic
#291239 #4A2067 #6C2F96 #8D3FC3 #A96ED2

Accessibility & contrast

On white

8.45
#6C2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6C2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2F96
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2F96#FFFFFF#000000##FFFFFF
##6C2F961.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#194E94
Tritanopia (blue-blind)
#66455E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c2f96;
/* rgb */ color: rgb(108, 47, 150);
/* oklch */ color: oklch(44.0% 0.164 308.2);
Tailwind
colors: {
  custom: {
    50: '#9a6cb5',
    500: '#6c2f96',
    950: '#000000',
  },
}
SCSS
$custom: #6c2f96;
$custom-light: #9a6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2f96",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 275.534,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.16405,
    "h": 308.2
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#6C2F96
secondary
#89B968
accent
#DC4C87
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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