#6A2CA2#6A2CA2

#6A2CA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.180 H 303.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6A2CA2
RGBrgb(106, 44, 162)
HSLhsl(272, 57%, 40%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34.6%, 72.8%, 0%, 36.5%)
CIE-LABlab(32.86, 49.39, -52.65)
CIE-LCHlch(32.86, 72.18, 313.17°)
OKLaboklab(44.33% 0.1002 -0.1498)
OKLCHoklch(44.33% 0.18 303.8)
XYZxyz(13.3646, 7.4742, 34.9140)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CA2 #64A22C
analogous
#2F2CA2 #6A2CA2 #A22C9F
triadic
#6A2CA2 #A26A2C #2CA26A
tetradic
#6A2CA2 #A22F2C #64A22C #2C9FA2
square
#6A2CA2 #A22F2C #64A22C #2C9FA2
split-complementary
#6A2CA2 #9FA22C #2CA22F
monochromatic
#2B1242 #4B1F72 #6A2CA2 #8940CB #A770D8

Accessibility & contrast

On white

8.42
#6A2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CA2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CA2#FFFFFF#000000##FFFFFF
##6A2CA21.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#5F4864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ca2;
/* rgb */ color: rgb(106, 44, 162);
/* oklch */ color: oklch(44.3% 0.180 303.8);
Tailwind
colors: {
  custom: {
    50: '#9a6bbe',
    500: '#6a2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ca2;
$custom-light: #9a6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ca2",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 271.525,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.18027,
    "h": 303.8
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#6A2CA2
secondary
#93BF6A
accent
#E14790
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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