#6A2CA6#6A2CA6

#6A2CA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.185 H 302.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6A2CA6
RGBrgb(106, 44, 166)
HSLhsl(270, 58%, 41%)
HSVhsv(270, 73%, 65%)
CMYKcmyk(36.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(33.18, 50.36, -54.55)
CIE-LCHlch(33.18, 74.24, 312.71°)
OKLaboklab(44.64% 0.0995 -0.1554)
OKLCHoklch(44.64% 0.185 302.6)
XYZxyz(13.7258, 7.6187, 36.8164)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CA6 #68A62C
analogous
#2D2CA6 #6A2CA6 #A62CA5
triadic
#6A2CA6 #A66A2C #2CA66A
tetradic
#6A2CA6 #A62D2C #68A62C #2CA5A6
square
#6A2CA6 #A62D2C #68A62C #2CA5A6
split-complementary
#6A2CA6 #A5A62C #2CA62D
monochromatic
#2C1245 #4B1F76 #6A2CA6 #8942CD #A773DA

Accessibility & contrast

On white

8.32
#6A2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6A2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CA6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CA6#FFFFFF#000000##FFFFFF
##6A2CA61.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#5E4A66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2ca6;
/* rgb */ color: rgb(106, 44, 166);
/* oklch */ color: oklch(44.6% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bc1',
    500: '#6a2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ca6;
$custom-light: #9a6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ca6",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 270.492,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44644,
    "c": 0.18453,
    "h": 302.6
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#6A2CA6
secondary
#96C16D
accent
#E14693
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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