#6332B4#6332B4

#6332B4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.192 H 294.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6332B4
RGBrgb(99, 50, 180)
HSLhsl(263, 57%, 45%)
HSVhsv(263, 72%, 71%)
CMYKcmyk(45%, 72.2%, 0%, 29.4%)
CIE-LABlab(34.45, 49.82, -60.87)
CIE-LCHlch(34.45, 78.66, 309.30°)
OKLaboklab(45.71% 0.0806 -0.1743)
OKLCHoklch(45.71% 0.192 294.8)
XYZxyz(14.5222, 8.2288, 43.9943)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332B4 #83B432
analogous
#3242B4 #6332B4 #A432B4
triadic
#6332B4 #B46332 #32B463
tetradic
#6332B4 #B43242 #83B432 #32B4A4
square
#6332B4 #B43242 #83B432 #32B4A4
split-complementary
#6332B4 #B4A432 #42B432
monochromatic
#2E1754 #492584 #6332B4 #8254CF #A584DD

Accessibility & contrast

On white

7.94
#6332B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6332B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6332B4#FFFFFF#000000##FFFFFF
##6332B41.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#4C5370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6332b4;
/* rgb */ color: rgb(99, 50, 180);
/* oklch */ color: oklch(45.7% 0.192 294.8);
Tailwind
colors: {
  custom: {
    50: '#976ecb',
    500: '#6332b4',
    950: '#000000',
  },
}
SCSS
$custom: #6332b4;
$custom-light: #976ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6332b4",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 262.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.19203,
    "h": 294.8
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#6332B4
secondary
#AAC67C
accent
#E048A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6332B4

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

Preview Lab → · Contrast checker → · Palette generator →

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