#6A33AD#6A33AD

#6A33AD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.184 H 299.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6A33AD
RGBrgb(106, 51, 173)
HSLhsl(267, 54%, 44%)
HSVhsv(267, 71%, 68%)
CMYKcmyk(38.7%, 70.5%, 0%, 32.2%)
CIE-LABlab(34.90, 48.80, -55.94)
CIE-LCHlch(34.90, 74.23, 311.10°)
OKLaboklab(46.04% 0.0911 -0.1596)
OKLCHoklch(46.04% 0.184 299.7)
XYZxyz(14.6686, 8.4488, 40.3850)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33AD #76AD33
analogous
#3339AD #6A33AD #A733AD
triadic
#6A33AD #AD6A33 #33AD6A
tetradic
#6A33AD #AD3339 #76AD33 #33ADA7
square
#6A33AD #AD3339 #76AD33 #33ADA7
split-complementary
#6A33AD #ADA733 #39AD33
monochromatic
#30174E #4D257E #6A33AD #8951CC #A981DA

Accessibility & contrast

On white

7.81
#6A33AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6A33AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33AD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33AD#FFFFFF#000000##FFFFFF
##6A33AD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#5B506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a33ad;
/* rgb */ color: rgb(106, 51, 173);
/* oklch */ color: oklch(46.0% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#9a6fc6',
    500: '#6a33ad',
    950: '#000000',
  },
}
SCSS
$custom: #6a33ad;
$custom-light: #9a6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33ad",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 267.049,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.18375,
    "h": 299.7
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#6A33AD
secondary
#A2C379
accent
#DE4A9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A33AD

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

Preview Lab → · Contrast checker → · Palette generator →

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