#6032B2#6032B2

#6032B2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.190 H 293.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6032B2
RGBrgb(96, 50, 178)
HSLhsl(262, 56%, 45%)
HSVhsv(262, 72%, 70%)
CMYKcmyk(46.1%, 71.9%, 0%, 30.2%)
CIE-LABlab(33.95, 48.77, -60.52)
CIE-LCHlch(33.95, 77.73, 308.86°)
OKLaboklab(45.22% 0.0767 -0.1734)
OKLCHoklch(45.22% 0.19 293.9)
XYZxyz(13.9982, 7.9819, 42.9140)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6032B2 #84B232
analogous
#3244B2 #6032B2 #A032B2
triadic
#6032B2 #B26032 #32B260
tetradic
#6032B2 #B23244 #84B232 #32B2A0
square
#6032B2 #B23244 #84B232 #32B2A0
split-complementary
#6032B2 #B2A032 #44B232
monochromatic
#2C1752 #462582 #6032B2 #7F53CF #A382DC

Accessibility & contrast

On white

8.09
#6032B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6032B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6032B2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6032B2#FFFFFF#000000##FFFFFF
##6032B21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#48536F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6032b2;
/* rgb */ color: rgb(96, 50, 178);
/* oklch */ color: oklch(45.2% 0.190 293.9);
Tailwind
colors: {
  custom: {
    50: '#956eca',
    500: '#6032b2',
    950: '#000000',
  },
}
SCSS
$custom: #6032b2;
$custom-light: #956eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6032b2",
  "rgb": {
    "r": 96,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 261.563,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.18958,
    "h": 293.9
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#6032B2
secondary
#AAC57B
accent
#DF48A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6032B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6032B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva