#6B33B8#6B33B8

#6B33B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.196 H 297.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6B33B8
RGBrgb(107, 51, 184)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 72%, 72%)
CMYKcmyk(41.8%, 72.3%, 0%, 27.8%)
CIE-LABlab(35.90, 51.79, -60.84)
CIE-LCHlch(35.90, 79.90, 310.41°)
OKLaboklab(47.05% 0.0905 -0.1739)
OKLCHoklch(47.05% 0.196 297.5)
XYZxyz(15.8967, 8.9539, 46.2288)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33B8 #80B833
analogous
#333DB8 #6B33B8 #AD33B8
triadic
#6B33B8 #B86B33 #33B86B
tetradic
#6B33B8 #B8333D #80B833 #33B8AD
square
#6B33B8 #B8333D #80B833 #33B8AD
split-complementary
#6B33B8 #B8AD33 #3DB833
monochromatic
#331858 #4F2688 #6B33B8 #8B58D1 #AC88DE

Accessibility & contrast

On white

7.52
#6B33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6B33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33B8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33B8#FFFFFF#000000##FFFFFF
##6B33B81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#575572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b33b8;
/* rgb */ color: rgb(107, 51, 184);
/* oklch */ color: oklch(47.0% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#9c70ce',
    500: '#6b33b8',
    950: '#000000',
  },
}
SCSS
$custom: #6b33b8;
$custom-light: #9c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33b8",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 265.263,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.19607,
    "h": 297.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#6B33B8
secondary
#A9C87F
accent
#E048A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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