#6A2CA5#6A2CA5

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

Color values

HEX#6A2CA5
RGBrgb(106, 44, 165)
HSLhsl(271, 58%, 41%)
HSVhsv(271, 73%, 65%)
CMYKcmyk(35.8%, 73.3%, 0%, 35.3%)
CIE-LABlab(33.10, 50.12, -54.07)
CIE-LCHlch(33.10, 73.73, 312.82°)
OKLaboklab(44.56% 0.0997 -0.154)
OKLCHoklch(44.56% 0.183 302.9)
XYZxyz(13.6345, 7.5821, 36.3352)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CA5 #67A52C
analogous
#2D2CA5 #6A2CA5 #A52CA3
triadic
#6A2CA5 #A56A2C #2CA56A
tetradic
#6A2CA5 #A52D2C #67A52C #2CA3A5
square
#6A2CA5 #A52D2C #67A52C #2CA3A5
split-complementary
#6A2CA5 #A3A52C #2CA52D
monochromatic
#2C1244 #4B1F75 #6A2CA5 #8942CD #A772D9

Accessibility & contrast

On white

8.35
#6A2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2CA5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CA5#FFFFFF#000000##FFFFFF
##6A2CA51.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2ca5;
/* rgb */ color: rgb(106, 44, 165);
/* oklch */ color: oklch(44.6% 0.183 302.9);
Tailwind
colors: {
  custom: {
    50: '#9a6bc1',
    500: '#6a2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ca5;
$custom-light: #9a6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ca5",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 270.744,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.18347,
    "h": 302.9
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#6A2CA5
secondary
#95C16C
accent
#E14792
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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