#6332AB#6332AB

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

Color values

HEX#6332AB
RGBrgb(99, 50, 171)
HSLhsl(264, 55%, 43%)
HSVhsv(264, 71%, 67%)
CMYKcmyk(42.1%, 70.8%, 0%, 32.9%)
CIE-LABlab(33.72, 47.44, -56.70)
CIE-LCHlch(33.72, 73.93, 309.92°)
OKLaboklab(44.96% 0.0824 -0.162)
OKLCHoklch(44.96% 0.182 297)
XYZxyz(13.6350, 7.8739, 39.3216)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332AB #7AAB32
analogous
#323DAB #6332AB #9F32AB
triadic
#6332AB #AB6332 #32AB63
tetradic
#6332AB #AB323D #7AAB32 #32AB9F
square
#6332AB #AB323D #7AAB32 #32AB9F
split-complementary
#6332AB #AB9F32 #3DAB32
monochromatic
#2C164C #48247C #6332AB #814FCB #A37ED9

Accessibility & contrast

On white

8.16
#6332AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6332AB#FFFFFF#000000##FFFFFF
##6332AB1.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)
#0050AF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#51506B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6332ab;
/* rgb */ color: rgb(99, 50, 171);
/* oklch */ color: oklch(45.0% 0.182 297.0);
Tailwind
colors: {
  custom: {
    50: '#966ec5',
    500: '#6332ab',
    950: '#000000',
  },
}
SCSS
$custom: #6332ab;
$custom-light: #966ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6332ab",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 264.298,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.1818,
    "h": 297
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#6332AB
secondary
#A4C277
accent
#DE4AA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6332AB

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

Preview Lab → · Contrast checker → · Palette generator →

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