#6C2E91#6C2E91

#6C2E91 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.160 H 310.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6C2E91
RGBrgb(108, 46, 145)
HSLhsl(278, 52%, 37%)
HSVhsv(278, 68%, 57%)
CMYKcmyk(25.5%, 68.3%, 0%, 43.1%)
CIE-LABlab(32.23, 44.83, -43.31)
CIE-LCHlch(32.23, 62.33, 315.99°)
OKLaboklab(43.54% 0.1032 -0.1223)
OKLCHoklch(43.54% 0.16 310.1)
XYZxyz(12.2712, 7.1867, 27.5233)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2E91 #53912E
analogous
#3B2E91 #6C2E91 #912E84
triadic
#6C2E91 #916C2E #2E916C
tetradic
#6C2E91 #913B2E #53912E #2E8491
square
#6C2E91 #913B2E #53912E #2E8491
split-complementary
#6C2E91 #84912E #2E913B
monochromatic
#271134 #491F63 #6C2E91 #8F3DBF #AA6AD0

Accessibility & contrast

On white

8.62
#6C2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6C2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2E91
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2E91#FFFFFF#000000##FFFFFF
##6C2E911.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#1F4D8F
Tritanopia (blue-blind)
#67435B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c2e91;
/* rgb */ color: rgb(108, 46, 145);
/* oklch */ color: oklch(43.5% 0.160 310.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bb2',
    500: '#6c2e91',
    950: '#000000',
  },
}
SCSS
$custom: #6c2e91;
$custom-light: #9a6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2e91",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 277.576,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43537,
    "c": 0.16003,
    "h": 310.1
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#6C2E91
secondary
#83B764
accent
#DB4D82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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