#6032B1#6032B1

#6032B1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.188 H 294.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6032B1
RGBrgb(96, 50, 177)
HSLhsl(262, 56%, 45%)
HSVhsv(262, 72%, 69%)
CMYKcmyk(45.8%, 71.8%, 0%, 30.6%)
CIE-LABlab(33.86, 48.50, -60.07)
CIE-LCHlch(33.86, 77.20, 308.92°)
OKLaboklab(45.14% 0.0769 -0.172)
OKLCHoklch(45.14% 0.188 294.1)
XYZxyz(13.8981, 7.9419, 42.3871)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6032B1 #83B132
analogous
#3244B1 #6032B1 #9F32B1
triadic
#6032B1 #B16032 #32B160
tetradic
#6032B1 #B13244 #83B132 #32B19F
square
#6032B1 #B13244 #83B132 #32B19F
split-complementary
#6032B1 #B19F32 #44B132
monochromatic
#2C1752 #462581 #6032B1 #7F52CE #A282DC

Accessibility & contrast

On white

8.11
#6032B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6032B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6032B1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6032B1#FFFFFF#000000##FFFFFF
##6032B11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#49526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6032b1;
/* rgb */ color: rgb(96, 50, 177);
/* oklch */ color: oklch(45.1% 0.188 294.1);
Tailwind
colors: {
  custom: {
    50: '#946ec9',
    500: '#6032b1',
    950: '#000000',
  },
}
SCSS
$custom: #6032b1;
$custom-light: #946ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6032b1",
  "rgb": {
    "r": 96,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 261.732,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.18844,
    "h": 294.1
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#6032B1
secondary
#AAC57A
accent
#DF49A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6032B1

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

Preview Lab → · Contrast checker → · Palette generator →

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