#6C2A90#6C2A90

#6C2A90 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.164 H 311.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C2A90
RGBrgb(108, 42, 144)
HSLhsl(279, 55%, 36%)
HSVhsv(279, 71%, 56%)
CMYKcmyk(25%, 70.8%, 0%, 43.5%)
CIE-LABlab(31.48, 46.49, -43.89)
CIE-LCHlch(31.48, 63.94, 316.64°)
OKLaboklab(42.98% 0.1079 -0.124)
OKLCHoklch(42.98% 0.164 311)
XYZxyz(12.0454, 6.8580, 27.0693)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2A90 #4E902A
analogous
#392A90 #6C2A90 #902A81
triadic
#6C2A90 #906C2A #2A906C
tetradic
#6C2A90 #90392A #4E902A #2A8190
square
#6C2A90 #90392A #4E902A #2A8190
split-complementary
#6C2A90 #81902A #2A9039
monochromatic
#250E31 #481C61 #6C2A90 #9038BF #AA63D1

Accessibility & contrast

On white

8.85
#6C2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2A90
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2A90#FFFFFF#000000##FFFFFF
##6C2A901.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#67405A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c2a90;
/* rgb */ color: rgb(108, 42, 144);
/* oklch */ color: oklch(43.0% 0.164 311.0);
Tailwind
colors: {
  custom: {
    50: '#9a69b1',
    500: '#6c2a90',
    950: '#000000',
  },
}
SCSS
$custom: #6c2a90;
$custom-light: #9a69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2a90",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 278.824,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.16438,
    "h": 311
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#6C2A90
secondary
#7EB75E
accent
#DE4A7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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