#6B33B7#6B33B7

#6B33B7 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.195 H 297.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6B33B7
RGBrgb(107, 51, 183)
HSLhsl(265, 56%, 46%)
HSVhsv(265, 72%, 72%)
CMYKcmyk(41.5%, 72.1%, 0%, 28.2%)
CIE-LABlab(35.81, 51.54, -60.39)
CIE-LCHlch(35.81, 79.39, 310.48°)
OKLaboklab(46.96% 0.0907 -0.1726)
OKLCHoklch(46.96% 0.195 297.7)
XYZxyz(15.7923, 8.9121, 45.6787)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33B7 #7FB733
analogous
#333DB7 #6B33B7 #AD33B7
triadic
#6B33B7 #B76B33 #33B76B
tetradic
#6B33B7 #B7333D #7FB733 #33B7AD
square
#6B33B7 #B7333D #7FB733 #33B7AD
split-complementary
#6B33B7 #B7AD33 #3DB733
monochromatic
#331857 #4F2687 #6B33B7 #8A57D0 #AC87DE

Accessibility & contrast

On white

7.55
#6B33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B33B7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33B7#FFFFFF#000000##FFFFFF
##6B33B71.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#585472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b33b7;
/* rgb */ color: rgb(107, 51, 183);
/* oklch */ color: oklch(47.0% 0.195 297.7);
Tailwind
colors: {
  custom: {
    50: '#9c70ce',
    500: '#6b33b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b33b7;
$custom-light: #9c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33b7",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 265.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.19498,
    "h": 297.7
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#6B33B7
secondary
#A8C77F
accent
#E0489F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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