#6B32CB#6B32CB

#6B32CB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.218 H 293.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6B32CB
RGBrgb(107, 50, 203)
HSLhsl(262, 60%, 50%)
HSVhsv(262, 75%, 80%)
CMYKcmyk(47.3%, 75.4%, 0%, 20.4%)
CIE-LABlab(37.33, 57.15, -69.63)
CIE-LCHlch(37.33, 90.08, 309.38°)
OKLaboklab(48.55% 0.0869 -0.1997)
OKLCHoklch(48.55% 0.218 293.5)
XYZxyz(17.9805, 9.7182, 57.4168)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32CB #92CB32
analogous
#3246CB #6B32CB #B832CB
triadic
#6B32CB #CB6B32 #32CB6B
tetradic
#6B32CB #CB3246 #92CB32 #32CBB8
square
#6B32CB #CB3246 #92CB32 #32CBB8
split-complementary
#6B32CB #CBB832 #46CB32
monochromatic
#371A69 #51269A #6B32CB #8E62D8 #B193E4

Accessibility & contrast

On white

7.13
#6B32CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6B32CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32CB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32CB#FFFFFF#000000##FFFFFF
##6B32CB1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#4E5C7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b32cb;
/* rgb */ color: rgb(107, 50, 203);
/* oklch */ color: oklch(48.6% 0.218 293.5);
Tailwind
colors: {
  custom: {
    50: '#9e70dc',
    500: '#6b32cb',
    950: '#000000',
  },
}
SCSS
$custom: #6b32cb;
$custom-light: #9e70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32cb",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 262.353,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.21782,
    "h": 293.5
  },
  "luminance": 0.09719
}

Semantic roles & 50–950 ramp

primary
#6B32CB
secondary
#B5CF89
accent
#E444A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6B32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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