#6A2CAD#6A2CAD

#6A2CAD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.192 H 300.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6A2CAD
RGBrgb(106, 44, 173)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(38.7%, 74.6%, 0%, 32.2%)
CIE-LABlab(33.74, 52.08, -57.83)
CIE-LCHlch(33.74, 77.82, 312.00°)
OKLaboklab(45.22% 0.098 -0.1651)
OKLCHoklch(45.22% 0.192 300.7)
XYZxyz(14.3855, 7.8826, 40.2907)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CAD #6FAD2C
analogous
#2C2FAD #6A2CAD #AA2CAD
triadic
#6A2CAD #AD6A2C #2CAD6A
tetradic
#6A2CAD #AD2C2F #6FAD2C #2CADAA
square
#6A2CAD #AD2C2F #6FAD2C #2CADAA
split-complementary
#6A2CAD #ADAA2C #2FAD2C
monochromatic
#2E134B #4C207C #6A2CAD #8846D0 #A877DC

Accessibility & contrast

On white

8.15
#6A2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6A2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CAD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CAD#FFFFFF#000000##FFFFFF
##6A2CAD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#5B4D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2cad;
/* rgb */ color: rgb(106, 44, 173);
/* oklch */ color: oklch(45.2% 0.192 300.7);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6a2cad',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cad;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cad",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 268.837,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.19197,
    "h": 300.7
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#6A2CAD
secondary
#9CC471
accent
#E34597
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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