#6A2DAD#6A2DAD

#6A2DAD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.191 H 300.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6A2DAD
RGBrgb(106, 45, 173)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 74%, 68%)
CMYKcmyk(38.7%, 74%, 0%, 32.2%)
CIE-LABlab(33.90, 51.63, -57.57)
CIE-LCHlch(33.90, 77.33, 311.88°)
OKLaboklab(45.33% 0.097 -0.1643)
OKLCHoklch(45.33% 0.191 300.6)
XYZxyz(14.4232, 7.9580, 40.3032)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DAD #70AD2D
analogous
#2D30AD #6A2DAD #AA2DAD
triadic
#6A2DAD #AD6A2D #2DAD6A
tetradic
#6A2DAD #AD2D30 #70AD2D #2DADAA
square
#6A2DAD #AD2D30 #70AD2D #2DADAA
split-complementary
#6A2DAD #ADAA2D #30AD2D
monochromatic
#2E144C #4C207C #6A2DAD #8848CF #A878DC

Accessibility & contrast

On white

8.10
#6A2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A2DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DAD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DAD#FFFFFF#000000##FFFFFF
##6A2DAD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#5B4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2dad;
/* rgb */ color: rgb(106, 45, 173);
/* oklch */ color: oklch(45.3% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#9b6cc6',
    500: '#6a2dad',
    950: '#000000',
  },
}
SCSS
$custom: #6a2dad;
$custom-light: #9b6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2dad",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 268.594,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.19085,
    "h": 300.6
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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