#6332A2#6332A2

#6332A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.171 H 299.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6332A2
RGBrgb(99, 50, 162)
HSLhsl(266, 53%, 42%)
HSVhsv(266, 69%, 64%)
CMYKcmyk(38.9%, 69.1%, 0%, 36.5%)
CIE-LABlab(33.01, 45.07, -52.45)
CIE-LCHlch(33.01, 69.15, 310.68°)
OKLaboklab(44.23% 0.0839 -0.1495)
OKLCHoklch(44.23% 0.171 299.3)
XYZxyz(12.8061, 7.5423, 34.9565)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332A2 #71A232
analogous
#3239A2 #6332A2 #9B32A2
triadic
#6332A2 #A26332 #32A263
tetradic
#6332A2 #A23239 #71A232 #32A29B
square
#6332A2 #A23239 #71A232 #32A29B
split-complementary
#6332A2 #A29B32 #39A232
monochromatic
#2A1544 #462473 #6332A2 #814AC7 #A179D6

Accessibility & contrast

On white

8.37
#6332A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6332A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6332A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6332A2#FFFFFF#000000##FFFFFF
##6332A21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#544C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6332a2;
/* rgb */ color: rgb(99, 50, 162);
/* oklch */ color: oklch(44.2% 0.171 299.3);
Tailwind
colors: {
  custom: {
    50: '#956ebe',
    500: '#6332a2',
    950: '#000000',
  },
}
SCSS
$custom: #6332a2;
$custom-light: #956ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6332a2",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 266.25,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.17147,
    "h": 299.3
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#6332A2
secondary
#9DBE72
accent
#DC4C9D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6332A2

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

Preview Lab → · Contrast checker → · Palette generator →

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