#6332B1#6332B1

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

Color values

HEX#6332B1
RGBrgb(99, 50, 177)
HSLhsl(263, 56%, 45%)
HSVhsv(263, 72%, 69%)
CMYKcmyk(44.1%, 71.8%, 0%, 30.6%)
CIE-LABlab(34.21, 49.03, -59.49)
CIE-LCHlch(34.21, 77.09, 309.49°)
OKLaboklab(45.46% 0.0813 -0.1702)
OKLCHoklch(45.46% 0.189 295.5)
XYZxyz(14.2199, 8.1078, 42.4022)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332B1 #80B132
analogous
#3240B1 #6332B1 #A332B1
triadic
#6332B1 #B16332 #32B163
tetradic
#6332B1 #B13240 #80B132 #32B1A3
square
#6332B1 #B13240 #80B132 #32B1A3
split-complementary
#6332B1 #B1A332 #40B132
monochromatic
#2E1752 #482581 #6332B1 #8252CE #A482DC

Accessibility & contrast

On white

8.01
#6332B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6332B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6332B1#FFFFFF#000000##FFFFFF
##6332B11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#4E526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6332b1;
/* rgb */ color: rgb(99, 50, 177);
/* oklch */ color: oklch(45.5% 0.189 295.5);
Tailwind
colors: {
  custom: {
    50: '#966ec9',
    500: '#6332b1',
    950: '#000000',
  },
}
SCSS
$custom: #6332b1;
$custom-light: #966ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6332b1",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 263.15,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.18864,
    "h": 295.5
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#6332B1
secondary
#A8C57A
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6332B1

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

Preview Lab → · Contrast checker → · Palette generator →

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