#6B33B3#6B33B3

#6B33B3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.191 H 298.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6B33B3
RGBrgb(107, 51, 179)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 70%)
CMYKcmyk(40.2%, 71.5%, 0%, 29.8%)
CIE-LABlab(35.49, 50.52, -58.54)
CIE-LCHlch(35.49, 77.32, 310.79°)
OKLaboklab(46.64% 0.0915 -0.1672)
OKLCHoklch(46.64% 0.191 298.7)
XYZxyz(15.3818, 8.7479, 43.5172)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33B3 #7BB333
analogous
#333BB3 #6B33B3 #AB33B3
triadic
#6B33B3 #B36B33 #33B36B
tetradic
#6B33B3 #B3333B #7BB333 #33B3AB
square
#6B33B3 #B3333B #7BB333 #33B3AB
split-complementary
#6B33B3 #B3AB33 #3BB333
monochromatic
#321854 #4F2583 #6B33B3 #8A55CE #AB84DC

Accessibility & contrast

On white

7.64
#6B33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B33B3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33B3#FFFFFF#000000##FFFFFF
##6B33B31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#5A5370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b33b3;
/* rgb */ color: rgb(107, 51, 179);
/* oklch */ color: oklch(46.6% 0.191 298.7);
Tailwind
colors: {
  custom: {
    50: '#9b6fcb',
    500: '#6b33b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b33b3;
$custom-light: #9b6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33b3",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 266.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.19056,
    "h": 298.7
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#6B33B3
secondary
#A5C67C
accent
#DF499D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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