#6C2D90#6C2D90

#6C2D90 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.160 H 310.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6C2D90
RGBrgb(108, 45, 144)
HSLhsl(278, 52%, 37%)
HSVhsv(278, 69%, 56%)
CMYKcmyk(25%, 68.7%, 0%, 43.5%)
CIE-LABlab(31.99, 45.08, -43.08)
CIE-LCHlch(31.99, 62.35, 316.30°)
OKLaboklab(43.34% 0.1044 -0.1217)
OKLCHoklch(43.34% 0.16 310.6)
XYZxyz(12.1558, 7.0788, 27.1061)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2D90 #51902D
analogous
#3B2D90 #6C2D90 #902D83
triadic
#6C2D90 #906C2D #2D906C
tetradic
#6C2D90 #903B2D #51902D #2D8390
square
#6C2D90 #903B2D #51902D #2D8390
split-complementary
#6C2D90 #83902D #2D903B
monochromatic
#261033 #491E61 #6C2D90 #8F3CBF #AA68D0

Accessibility & contrast

On white

8.69
#6C2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6C2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2D90
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2D90#FFFFFF#000000##FFFFFF
##6C2D901.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#204C8E
Tritanopia (blue-blind)
#67425B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c2d90;
/* rgb */ color: rgb(108, 45, 144);
/* oklch */ color: oklch(43.3% 0.160 310.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bb1',
    500: '#6c2d90',
    950: '#000000',
  },
}
SCSS
$custom: #6c2d90;
$custom-light: #9a6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2d90",
  "rgb": {
    "r": 108,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 278.182,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.16035,
    "h": 310.6
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#6C2D90
secondary
#81B662
accent
#DC4C80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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