#6332AA#6332AA

#6332AA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.181 H 297.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6332AA
RGBrgb(99, 50, 170)
HSLhsl(265, 55%, 43%)
HSVhsv(265, 71%, 67%)
CMYKcmyk(41.8%, 70.6%, 0%, 33.3%)
CIE-LABlab(33.64, 47.17, -56.23)
CIE-LCHlch(33.64, 73.40, 309.99°)
OKLaboklab(44.88% 0.0826 -0.1607)
OKLCHoklch(44.88% 0.181 297.2)
XYZxyz(13.5400, 7.8359, 38.8215)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332AA #79AA32
analogous
#323DAA #6332AA #9F32AA
triadic
#6332AA #AA6332 #32AA63
tetradic
#6332AA #AA323D #79AA32 #32AA9F
square
#6332AA #AA323D #79AA32 #32AA9F
split-complementary
#6332AA #AA9F32 #3DAA32
monochromatic
#2C164B #47247B #6332AA #814ECB #A37DD9

Accessibility & contrast

On white

8.18
#6332AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6332AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6332AA#FFFFFF#000000##FFFFFF
##6332AA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#51506A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6332aa;
/* rgb */ color: rgb(99, 50, 170);
/* oklch */ color: oklch(44.9% 0.181 297.2);
Tailwind
colors: {
  custom: {
    50: '#956ec4',
    500: '#6332aa',
    950: '#000000',
  },
}
SCSS
$custom: #6332aa;
$custom-light: #956ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6332aa",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 264.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44878,
    "c": 0.18066,
    "h": 297.2
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#6332AA
secondary
#A3C276
accent
#DE4AA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6332AA

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

Preview Lab → · Contrast checker → · Palette generator →

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