#6B33AC#6B33AC

#6B33AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.183 H 300.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6B33AC
RGBrgb(107, 51, 172)
HSLhsl(268, 54%, 44%)
HSVhsv(268, 70%, 67%)
CMYKcmyk(37.8%, 70.3%, 0%, 32.5%)
CIE-LABlab(34.95, 48.74, -55.26)
CIE-LCHlch(34.95, 73.68, 311.41°)
OKLaboklab(46.08% 0.0927 -0.1575)
OKLCHoklch(46.08% 0.183 300.5)
XYZxyz(14.6918, 8.4719, 39.8829)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33AC #74AC33
analogous
#3337AC #6B33AC #A733AC
triadic
#6B33AC #AC6B33 #33AC6B
tetradic
#6B33AC #AC3337 #74AC33 #33ACA7
square
#6B33AC #AC3337 #74AC33 #33ACA7
split-complementary
#6B33AC #ACA733 #37AC33
monochromatic
#30174E #4E257D #6B33AC #8A51CB #A980D9

Accessibility & contrast

On white

7.79
#6B33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6B33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33AC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33AC#FFFFFF#000000##FFFFFF
##6B33AC1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#5D506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b33ac;
/* rgb */ color: rgb(107, 51, 172);
/* oklch */ color: oklch(46.1% 0.183 300.5);
Tailwind
colors: {
  custom: {
    50: '#9b6fc6',
    500: '#6b33ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b33ac;
$custom-light: #9b6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33ac",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 267.769,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.1828,
    "h": 300.5
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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