#6032B5#6032B5

#6032B5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.193 H 293.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6032B5
RGBrgb(96, 50, 181)
HSLhsl(261, 57%, 45%)
HSVhsv(261, 72%, 71%)
CMYKcmyk(47%, 72.4%, 0%, 29%)
CIE-LABlab(34.20, 49.58, -61.89)
CIE-LCHlch(34.20, 79.30, 308.70°)
OKLaboklab(45.48% 0.076 -0.1774)
OKLCHoklch(45.48% 0.193 293.2)
XYZxyz(14.3027, 8.1037, 44.5177)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6032B5 #87B532
analogous
#3245B5 #6032B5 #A232B5
triadic
#6032B5 #B56032 #32B560
tetradic
#6032B5 #B53245 #87B532 #32B5A2
square
#6032B5 #B53245 #87B532 #32B5A2
split-complementary
#6032B5 #B5A232 #45B532
monochromatic
#2D1855 #472585 #6032B5 #8054D0 #A384DD

Accessibility & contrast

On white

8.01
#6032B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6032B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6032B5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6032B5#FFFFFF#000000##FFFFFF
##6032B51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#465470
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6032b5;
/* rgb */ color: rgb(96, 50, 181);
/* oklch */ color: oklch(45.5% 0.193 293.2);
Tailwind
colors: {
  custom: {
    50: '#956ecc',
    500: '#6032b5',
    950: '#000000',
  },
}
SCSS
$custom: #6032b5;
$custom-light: #956ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6032b5",
  "rgb": {
    "r": 96,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 261.069,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.19301,
    "h": 293.2
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#6032B5
secondary
#ACC77C
accent
#E048AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6032B5

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

Preview Lab → · Contrast checker → · Palette generator →

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