#6332B5#6332B5

#6332B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.193 H 294.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6332B5
RGBrgb(99, 50, 181)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 72%, 71%)
CMYKcmyk(45.3%, 72.4%, 0%, 29%)
CIE-LABlab(34.54, 50.09, -61.32)
CIE-LCHlch(34.54, 79.18, 309.24°)
OKLaboklab(45.8% 0.0804 -0.1756)
OKLCHoklch(45.8% 0.193 294.6)
XYZxyz(14.6244, 8.2697, 44.5328)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332B5 #84B532
analogous
#3242B5 #6332B5 #A532B5
triadic
#6332B5 #B56332 #32B563
tetradic
#6332B5 #B53242 #84B532 #32B5A5
square
#6332B5 #B53242 #84B532 #32B5A5
split-complementary
#6332B5 #B5A532 #42B532
monochromatic
#2F1855 #492585 #6332B5 #8354D0 #A684DD

Accessibility & contrast

On white

7.91
#6332B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6332B5#FFFFFF#000000##FFFFFF
##6332B51.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#4C5470
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6332b5;
/* rgb */ color: rgb(99, 50, 181);
/* oklch */ color: oklch(45.8% 0.193 294.6);
Tailwind
colors: {
  custom: {
    50: '#976ecc',
    500: '#6332b5',
    950: '#000000',
  },
}
SCSS
$custom: #6332b5;
$custom-light: #976ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6332b5",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 262.443,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.19317,
    "h": 294.6
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6332B5

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

Preview Lab → · Contrast checker → · Palette generator →

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