#6C2A94#6C2A94

#6C2A94 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.169 H 309.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6C2A94
RGBrgb(108, 42, 148)
HSLhsl(277, 56%, 37%)
HSVhsv(277, 72%, 58%)
CMYKcmyk(27%, 71.6%, 0%, 42%)
CIE-LABlab(31.77, 47.40, -45.89)
CIE-LCHlch(31.77, 65.98, 315.93°)
OKLaboklab(43.27% 0.1074 -0.1299)
OKLCHoklch(43.27% 0.169 309.6)
XYZxyz(12.3565, 6.9824, 28.7080)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2A94 #52942A
analogous
#372A94 #6C2A94 #942A87
triadic
#6C2A94 #946C2A #2A946C
tetradic
#6C2A94 #94372A #52942A #2A8794
square
#6C2A94 #94372A #52942A #2A8794
split-complementary
#6C2A94 #87942A #2A9437
monochromatic
#260F35 #491C64 #6C2A94 #8F38C4 #AA65D3

Accessibility & contrast

On white

8.76
#6C2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2A94
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2A94#FFFFFF#000000##FFFFFF
##6C2A941.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#66415C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c2a94;
/* rgb */ color: rgb(108, 42, 148);
/* oklch */ color: oklch(43.3% 0.169 309.6);
Tailwind
colors: {
  custom: {
    50: '#9a69b4',
    500: '#6c2a94',
    950: '#000000',
  },
}
SCSS
$custom: #6c2a94;
$custom-light: #9a69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2a94",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 277.358,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.16853,
    "h": 309.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#6C2A94
secondary
#82B960
accent
#DF4981
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6C2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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