#6A2BAD#6A2BAD

#6A2BAD is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.193 H 300.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6A2BAD
RGBrgb(106, 43, 173)
HSLhsl(269, 60%, 42%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(38.7%, 75.1%, 0%, 32.2%)
CIE-LABlab(33.58, 52.52, -58.09)
CIE-LCHlch(33.58, 78.31, 312.12°)
OKLaboklab(45.11% 0.0989 -0.1658)
OKLCHoklch(45.11% 0.193 300.8)
XYZxyz(14.3487, 7.8089, 40.2784)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BAD #6EAD2B
analogous
#2B2DAD #6A2BAD #AB2BAD
triadic
#6A2BAD #AD6A2B #2BAD6A
tetradic
#6A2BAD #AD2B2D #6EAD2B #2BADAB
square
#6A2BAD #AD2B2D #6EAD2B #2BADAB
split-complementary
#6A2BAD #ADAB2B #2DAD2B
monochromatic
#2E134B #4C1F7C #6A2BAD #8845D1 #A876DD

Accessibility & contrast

On white

8.20
#6A2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BAD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BAD#FFFFFF#000000##FFFFFF
##6A2BAD1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2bad;
/* rgb */ color: rgb(106, 43, 173);
/* oklch */ color: oklch(45.1% 0.193 300.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6a2bad',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bad;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bad",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 269.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.19308,
    "h": 300.8
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#6A2BAD
secondary
#9BC46F
accent
#E34496
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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