#6032AF#6032AF

#6032AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.186 H 294.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6032AF
RGBrgb(96, 50, 175)
HSLhsl(262, 56%, 44%)
HSVhsv(262, 71%, 69%)
CMYKcmyk(45.1%, 71.4%, 0%, 31.4%)
CIE-LABlab(33.70, 47.96, -59.15)
CIE-LCHlch(33.70, 76.14, 309.04°)
OKLaboklab(44.97% 0.0773 -0.1693)
OKLCHoklch(44.97% 0.186 294.5)
XYZxyz(13.7002, 7.8628, 41.3450)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6032AF #81AF32
analogous
#3243AF #6032AF #9F32AF
triadic
#6032AF #AF6032 #32AF60
tetradic
#6032AF #AF3243 #81AF32 #32AF9F
square
#6032AF #AF3243 #81AF32 #32AF9F
split-complementary
#6032AF #AF9F32 #43AF32
monochromatic
#2C1750 #46247F #6032AF #7F51CD #A281DB

Accessibility & contrast

On white

8.16
#6032AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6032AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6032AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6032AF#FFFFFF#000000##FFFFFF
##6032AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#4A526D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6032af;
/* rgb */ color: rgb(96, 50, 175);
/* oklch */ color: oklch(45.0% 0.186 294.5);
Tailwind
colors: {
  custom: {
    50: '#946ec8',
    500: '#6032af',
    950: '#000000',
  },
}
SCSS
$custom: #6032af;
$custom-light: #946ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6032af",
  "rgb": {
    "r": 96,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 262.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.18614,
    "h": 294.5
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#6032AF
secondary
#A8C479
accent
#DF49A8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6032AF

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

Preview Lab → · Contrast checker → · Palette generator →

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