#6C2E95#6C2E95

#6C2E95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.164 H 308.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6C2E95
RGBrgb(108, 46, 149)
HSLhsl(276, 53%, 38%)
HSVhsv(276, 69%, 58%)
CMYKcmyk(27.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(32.51, 45.76, -45.31)
CIE-LCHlch(32.51, 64.39, 315.29°)
OKLaboklab(43.83% 0.1028 -0.1282)
OKLCHoklch(43.83% 0.164 308.7)
XYZxyz(12.5851, 7.3123, 29.1764)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2E95 #57952E
analogous
#392E95 #6C2E95 #952E8A
triadic
#6C2E95 #956C2E #2E956C
tetradic
#6C2E95 #95392E #57952E #2E8A95
square
#6C2E95 #95392E #57952E #2E8A95
split-complementary
#6C2E95 #8A952E #2E9539
monochromatic
#281137 #4A2066 #6C2E95 #8E3DC3 #A96CD2

Accessibility & contrast

On white

8.53
#6C2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6C2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2E95
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2E95#FFFFFF#000000##FFFFFF
##6C2E951.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1A4D93
Tritanopia (blue-blind)
#66445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c2e95;
/* rgb */ color: rgb(108, 46, 149);
/* oklch */ color: oklch(43.8% 0.164 308.7);
Tailwind
colors: {
  custom: {
    50: '#9a6cb5',
    500: '#6c2e95',
    950: '#000000',
  },
}
SCSS
$custom: #6c2e95;
$custom-light: #9a6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2e95",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 276.117,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.16433,
    "h": 308.7
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#6C2E95
secondary
#87B966
accent
#DC4C85
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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