#6C33B5#6C33B5

#6C33B5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.193 H 298.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6C33B5
RGBrgb(108, 51, 181)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 71%)
CMYKcmyk(40.3%, 71.8%, 0%, 29%)
CIE-LABlab(35.78, 51.21, -59.26)
CIE-LCHlch(35.78, 78.32, 310.83°)
OKLaboklab(46.91% 0.0925 -0.1693)
OKLCHoklch(46.91% 0.193 298.7)
XYZxyz(15.7065, 8.8918, 44.5959)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C33B5 #7CB533
analogous
#333BB5 #6C33B5 #AD33B5
triadic
#6C33B5 #B56C33 #33B56C
tetradic
#6C33B5 #B5333B #7CB533 #33B5AD
square
#6C33B5 #B5333B #7CB533 #33B5AD
split-complementary
#6C33B5 #B5AD33 #3BB533
monochromatic
#331856 #502685 #6C33B5 #8B56CF #AC86DD

Accessibility & contrast

On white

7.56
#6C33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6C33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C33B5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C33B5#FFFFFF#000000##FFFFFF
##6C33B51.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#5A5371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c33b5;
/* rgb */ color: rgb(108, 51, 181);
/* oklch */ color: oklch(46.9% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#9c70cc',
    500: '#6c33b5',
    950: '#000000',
  },
}
SCSS
$custom: #6c33b5;
$custom-light: #9c70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c33b5",
  "rgb": {
    "r": 108,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 266.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.1929,
    "h": 298.7
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#6C33B5
secondary
#A6C67D
accent
#DF489D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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