#6332B2#6332B2

#6332B2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.190 H 295.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6332B2
RGBrgb(99, 50, 178)
HSLhsl(263, 56%, 45%)
HSVhsv(263, 72%, 70%)
CMYKcmyk(44.4%, 71.9%, 0%, 30.2%)
CIE-LABlab(34.29, 49.29, -59.95)
CIE-LCHlch(34.29, 77.61, 309.43°)
OKLaboklab(45.54% 0.0811 -0.1716)
OKLCHoklch(45.54% 0.19 295.3)
XYZxyz(14.3199, 8.1478, 42.9291)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332B2 #81B232
analogous
#3241B2 #6332B2 #A332B2
triadic
#6332B2 #B26332 #32B263
tetradic
#6332B2 #B23241 #81B232 #32B2A3
square
#6332B2 #B23241 #81B232 #32B2A3
split-complementary
#6332B2 #B2A332 #41B232
monochromatic
#2E1752 #482582 #6332B2 #8253CF #A582DC

Accessibility & contrast

On white

7.99
#6332B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6332B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6332B2#FFFFFF#000000##FFFFFF
##6332B21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#4D536F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6332b2;
/* rgb */ color: rgb(99, 50, 178);
/* oklch */ color: oklch(45.5% 0.190 295.3);
Tailwind
colors: {
  custom: {
    50: '#966eca',
    500: '#6332b2',
    950: '#000000',
  },
}
SCSS
$custom: #6332b2;
$custom-light: #966eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6332b2",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 262.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.18977,
    "h": 295.3
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#6332B2
secondary
#A9C57B
accent
#DF48A6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6332B2

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

Preview Lab → · Contrast checker → · Palette generator →

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