#6B33B5#6B33B5

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

Color values

HEX#6B33B5
RGBrgb(107, 51, 181)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 71%)
CMYKcmyk(40.9%, 71.8%, 0%, 29%)
CIE-LABlab(35.65, 51.03, -59.46)
CIE-LCHlch(35.65, 78.36, 310.63°)
OKLaboklab(46.8% 0.0911 -0.1699)
OKLCHoklch(46.8% 0.193 298.2)
XYZxyz(15.5856, 8.8294, 44.5902)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33B5 #7DB533
analogous
#333CB5 #6B33B5 #AC33B5
triadic
#6B33B5 #B56B33 #33B56B
tetradic
#6B33B5 #B5333C #7DB533 #33B5AC
square
#6B33B5 #B5333C #7DB533 #33B5AC
split-complementary
#6B33B5 #B5AC33 #3CB533
monochromatic
#331856 #4F2685 #6B33B5 #8A56CF #AB86DD

Accessibility & contrast

On white

7.59
#6B33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6B33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33B5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33B5#FFFFFF#000000##FFFFFF
##6B33B51.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b33b5;
/* rgb */ color: rgb(107, 51, 181);
/* oklch */ color: oklch(46.8% 0.193 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c70cc',
    500: '#6b33b5',
    950: '#000000',
  },
}
SCSS
$custom: #6b33b5;
$custom-light: #9c70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33b5",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 265.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.468,
    "c": 0.19277,
    "h": 298.2
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#6B33B5
secondary
#A7C67D
accent
#DF489E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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