#6B33B9#6B33B9

#6B33B9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.197 H 297.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6B33B9
RGBrgb(107, 51, 185)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 72%, 73%)
CMYKcmyk(42.2%, 72.4%, 0%, 27.5%)
CIE-LABlab(35.98, 52.05, -61.30)
CIE-LCHlch(35.98, 80.42, 310.33°)
OKLaboklab(47.13% 0.0903 -0.1753)
OKLCHoklch(47.13% 0.197 297.2)
XYZxyz(16.0019, 8.9959, 46.7828)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33B9 #81B933
analogous
#333EB9 #6B33B9 #AE33B9
triadic
#6B33B9 #B96B33 #33B96B
tetradic
#6B33B9 #B9333E #81B933 #33B9AE
square
#6B33B9 #B9333E #81B933 #33B9AE
split-complementary
#6B33B9 #B9AE33 #3EB933
monochromatic
#341959 #4F2689 #6B33B9 #8B58D1 #AC88DE

Accessibility & contrast

On white

7.50
#6B33B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6B33B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33B9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33B9#FFFFFF#000000##FFFFFF
##6B33B91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#575573
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b33b9;
/* rgb */ color: rgb(107, 51, 185);
/* oklch */ color: oklch(47.1% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#9c70cf',
    500: '#6b33b9',
    950: '#000000',
  },
}
SCSS
$custom: #6b33b9;
$custom-light: #9c70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33b9",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 265.075,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.19717,
    "h": 297.2
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#6B33B9
secondary
#AAC880
accent
#E048A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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