#6A33A5#6A33A5

#6A33A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.175 H 301.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6A33A5
RGBrgb(106, 51, 165)
HSLhsl(269, 53%, 42%)
HSVhsv(269, 69%, 65%)
CMYKcmyk(35.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(34.29, 46.77, -52.14)
CIE-LCHlch(34.29, 70.04, 311.89°)
OKLaboklab(45.41% 0.0924 -0.1484)
OKLCHoklch(45.41% 0.175 301.9)
XYZxyz(13.9176, 8.1484, 36.4296)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33A5 #6EA533
analogous
#3335A5 #6A33A5 #A333A5
triadic
#6A33A5 #A56A33 #33A56A
tetradic
#6A33A5 #A53335 #6EA533 #33A5A3
square
#6A33A5 #A53335 #6EA533 #33A5A3
split-complementary
#6A33A5 #A5A333 #35A533
monochromatic
#2E1648 #4C2576 #6A33A5 #884DC8 #A87CD6

Accessibility & contrast

On white

7.99
#6A33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6A33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33A5
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33A5#FFFFFF#000000##FFFFFF
##6A33A51.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#5E4D68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a33a5;
/* rgb */ color: rgb(106, 51, 165);
/* oklch */ color: oklch(45.4% 0.175 301.9);
Tailwind
colors: {
  custom: {
    50: '#996fc0',
    500: '#6a33a5',
    950: '#000000',
  },
}
SCSS
$custom: #6a33a5;
$custom-light: #996fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33a5",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 268.947,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.1748,
    "h": 301.9
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#6A33A5
secondary
#9BBF75
accent
#DC4C96
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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