#6A33B5#6A33B5

#6A33B5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.193 H 297.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6A33B5
RGBrgb(106, 51, 181)
HSLhsl(265, 56%, 45%)
HSVhsv(265, 72%, 71%)
CMYKcmyk(41.4%, 71.8%, 0%, 29%)
CIE-LABlab(35.53, 50.84, -59.66)
CIE-LCHlch(35.53, 78.39, 310.44°)
OKLaboklab(46.69% 0.0896 -0.1705)
OKLCHoklch(46.69% 0.193 297.7)
XYZxyz(15.4660, 8.7678, 44.5846)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33B5 #7EB533
analogous
#333DB5 #6A33B5 #AB33B5
triadic
#6A33B5 #B56A33 #33B56A
tetradic
#6A33B5 #B5333D #7EB533 #33B5AB
square
#6A33B5 #B5333D #7EB533 #33B5AB
split-complementary
#6A33B5 #B5AB33 #3DB533
monochromatic
#321856 #4E2685 #6A33B5 #8956CF #AA86DD

Accessibility & contrast

On white

7.63
#6A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6A33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33B5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33B5#FFFFFF#000000##FFFFFF
##6A33B51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#575471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a33b5;
/* rgb */ color: rgb(106, 51, 181);
/* oklch */ color: oklch(46.7% 0.193 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b6fcc',
    500: '#6a33b5',
    950: '#000000',
  },
}
SCSS
$custom: #6a33b5;
$custom-light: #9b6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33b5",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 265.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.19265,
    "h": 297.7
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#6A33B5
secondary
#A8C67D
accent
#DF48A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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