#6A33B2#6A33B2

#6A33B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.189 H 298.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6A33B2
RGBrgb(106, 51, 178)
HSLhsl(266, 55%, 45%)
HSVhsv(266, 71%, 70%)
CMYKcmyk(40.4%, 71.3%, 0%, 30.2%)
CIE-LABlab(35.29, 50.07, -58.28)
CIE-LCHlch(35.29, 76.83, 310.67°)
OKLaboklab(46.44% 0.0902 -0.1664)
OKLCHoklch(46.44% 0.189 298.5)
XYZxyz(15.1615, 8.6460, 42.9809)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33B2 #7BB233
analogous
#333CB2 #6A33B2 #AA33B2
triadic
#6A33B2 #B26A33 #33B26A
tetradic
#6A33B2 #B2333C #7BB233 #33B2AA
square
#6A33B2 #B2333C #7BB233 #33B2AA
split-complementary
#6A33B2 #B2AA33 #3CB233
monochromatic
#311853 #4E2582 #6A33B2 #8954CE #AA84DC

Accessibility & contrast

On white

7.69
#6A33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6A33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33B2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33B2#FFFFFF#000000##FFFFFF
##6A33B21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#59526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a33b2;
/* rgb */ color: rgb(106, 51, 178);
/* oklch */ color: oklch(46.4% 0.189 298.5);
Tailwind
colors: {
  custom: {
    50: '#9b6fca',
    500: '#6a33b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a33b2;
$custom-light: #9b6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33b2",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 265.984,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.18932,
    "h": 298.5
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#6A33B2
secondary
#A5C57C
accent
#DF499E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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