#6A2DA4#6A2DA4

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

Color values

HEX#6A2DA4
RGBrgb(106, 45, 164)
HSLhsl(271, 57%, 41%)
HSVhsv(271, 73%, 64%)
CMYKcmyk(35.4%, 72.6%, 0%, 35.7%)
CIE-LABlab(33.18, 49.41, -53.33)
CIE-LCHlch(33.18, 72.71, 312.81°)
OKLaboklab(44.6% 0.0988 -0.1519)
OKLCHoklch(44.6% 0.181 303.1)
XYZxyz(13.5815, 7.6213, 35.8703)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DA4 #67A42D
analogous
#2E2DA4 #6A2DA4 #A42DA2
triadic
#6A2DA4 #A46A2D #2DA46A
tetradic
#6A2DA4 #A42E2D #67A42D #2DA2A4
square
#6A2DA4 #A42E2D #67A42D #2DA2A4
split-complementary
#6A2DA4 #A2A42D #2DA42E
monochromatic
#2C1344 #4B2074 #6A2DA4 #8943CB #A773D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2DA4#FFFFFF#000000##FFFFFF
##6A2DA41.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)
#004DA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#5E4A66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2da4;
/* rgb */ color: rgb(106, 45, 164);
/* oklch */ color: oklch(44.6% 0.181 303.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bc0',
    500: '#6a2da4',
    950: '#000000',
  },
}
SCSS
$custom: #6a2da4;
$custom-light: #9a6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2da4",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 270.756,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.18121,
    "h": 303.1
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#6A2DA4
secondary
#95C06D
accent
#E04892
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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