#6A33AB#6A33AB

#6A33AB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.182 H 300.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6A33AB
RGBrgb(106, 51, 171)
HSLhsl(268, 54%, 44%)
HSVhsv(268, 70%, 67%)
CMYKcmyk(38%, 70.2%, 0%, 32.9%)
CIE-LABlab(34.75, 48.29, -54.99)
CIE-LCHlch(34.75, 73.19, 311.29°)
OKLaboklab(45.88% 0.0915 -0.1568)
OKLCHoklch(45.88% 0.182 300.3)
XYZxyz(14.4766, 8.3720, 39.3734)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33AB #74AB33
analogous
#3338AB #6A33AB #A633AB
triadic
#6A33AB #AB6A33 #33AB6A
tetradic
#6A33AB #AB3338 #74AB33 #33ABA6
square
#6A33AB #AB3338 #74AB33 #33ABA6
split-complementary
#6A33AB #ABA633 #38AB33
monochromatic
#30174D #4D257C #6A33AB #8850CB #A87FD9

Accessibility & contrast

On white

7.85
#6A33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A33AB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33AB#FFFFFF#000000##FFFFFF
##6A33AB1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#5B506B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a33ab;
/* rgb */ color: rgb(106, 51, 171);
/* oklch */ color: oklch(45.9% 0.182 300.3);
Tailwind
colors: {
  custom: {
    50: '#9a6fc5',
    500: '#6a33ab',
    950: '#000000',
  },
}
SCSS
$custom: #6a33ab;
$custom-light: #9a6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33ab",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 267.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45882,
    "c": 0.18152,
    "h": 300.3
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#6A33AB
secondary
#A0C278
accent
#DD4A9A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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