#6A33AA#6A33AA

#6A33AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.180 H 300.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6A33AA
RGBrgb(106, 51, 170)
HSLhsl(268, 54%, 43%)
HSVhsv(268, 70%, 67%)
CMYKcmyk(37.6%, 70%, 0%, 33.3%)
CIE-LABlab(34.67, 48.04, -54.52)
CIE-LCHlch(34.67, 72.66, 311.38°)
OKLaboklab(45.8% 0.0916 -0.1554)
OKLCHoklch(45.8% 0.18 300.5)
XYZxyz(14.3816, 8.3340, 38.8734)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33AA #73AA33
analogous
#3337AA #6A33AA #A533AA
triadic
#6A33AA #AA6A33 #33AA6A
tetradic
#6A33AA #AA3337 #73AA33 #33AAA5
square
#6A33AA #AA3337 #73AA33 #33AAA5
split-complementary
#6A33AA #AAA533 #37AA33
monochromatic
#2F174C #4D257B #6A33AA #8850CA #A87FD9

Accessibility & contrast

On white

7.87
#6A33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6A33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33AA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33AA#FFFFFF#000000##FFFFFF
##6A33AA1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#5C4F6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a33aa;
/* rgb */ color: rgb(106, 51, 170);
/* oklch */ color: oklch(45.8% 0.180 300.5);
Tailwind
colors: {
  custom: {
    50: '#9a6fc4',
    500: '#6a33aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a33aa;
$custom-light: #9a6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33aa",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 267.731,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.1804,
    "h": 300.5
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#6A33AA
secondary
#9FC277
accent
#DD4B99
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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