#6A2DAE#6A2DAE

#6A2DAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.192 H 300.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6A2DAE
RGBrgb(106, 45, 174)
HSLhsl(268, 59%, 43%)
HSVhsv(268, 74%, 68%)
CMYKcmyk(39.1%, 74.1%, 0%, 31.8%)
CIE-LABlab(33.98, 51.88, -58.04)
CIE-LCHlch(33.98, 77.84, 311.79°)
OKLaboklab(45.41% 0.0968 -0.1657)
OKLCHoklch(45.41% 0.192 300.3)
XYZxyz(14.5203, 7.9968, 40.8147)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DAE #71AE2D
analogous
#2D31AE #6A2DAE #AA2DAE
triadic
#6A2DAE #AE6A2D #2DAE6A
tetradic
#6A2DAE #AE2D31 #71AE2D #2DAEAA
square
#6A2DAE #AE2D31 #71AE2D #2DAEAA
split-complementary
#6A2DAE #AEAA2D #31AE2D
monochromatic
#2F144D #4C207D #6A2DAE #8848D0 #A879DC

Accessibility & contrast

On white

8.08
#6A2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6A2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DAE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DAE#FFFFFF#000000##FFFFFF
##6A2DAE1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5A4E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2dae;
/* rgb */ color: rgb(106, 45, 174);
/* oklch */ color: oklch(45.4% 0.192 300.3);
Tailwind
colors: {
  custom: {
    50: '#9b6cc7',
    500: '#6a2dae',
    950: '#000000',
  },
}
SCSS
$custom: #6a2dae;
$custom-light: #9b6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2dae",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 268.372,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.19192,
    "h": 300.3
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#6A2DAE
secondary
#9EC472
accent
#E24698
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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