#6032A2#6032A2

#6032A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.171 H 297.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6032A2
RGBrgb(96, 50, 162)
HSLhsl(265, 53%, 42%)
HSVhsv(265, 69%, 64%)
CMYKcmyk(40.7%, 69.1%, 0%, 36.5%)
CIE-LABlab(32.65, 44.47, -53.05)
CIE-LCHlch(32.65, 69.22, 309.97°)
OKLaboklab(43.89% 0.0796 -0.1514)
OKLCHoklch(43.89% 0.171 297.7)
XYZxyz(12.4844, 7.3764, 34.9415)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6032A2 #74A232
analogous
#323CA2 #6032A2 #9832A2
triadic
#6032A2 #A26032 #32A260
tetradic
#6032A2 #A2323C #74A232 #32A298
square
#6032A2 #A2323C #74A232 #32A298
split-complementary
#6032A2 #A29832 #3CA232
monochromatic
#291544 #442473 #6032A2 #7D4AC7 #9F79D6

Accessibility & contrast

On white

8.48
#6032A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6032A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6032A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6032A2#FFFFFF#000000##FFFFFF
##6032A21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#504D66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6032a2;
/* rgb */ color: rgb(96, 50, 162);
/* oklch */ color: oklch(43.9% 0.171 297.7);
Tailwind
colors: {
  custom: {
    50: '#936dbe',
    500: '#6032a2',
    950: '#000000',
  },
}
SCSS
$custom: #6032a2;
$custom-light: #936dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6032a2",
  "rgb": {
    "r": 96,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 264.643,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.17106,
    "h": 297.7
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#6032A2
secondary
#9FBE72
accent
#DC4CA1
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6032A2

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

Preview Lab → · Contrast checker → · Palette generator →

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