#6332C2#6332C2

#6332C2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.208 H 291.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6332C2
RGBrgb(99, 50, 194)
HSLhsl(260, 59%, 48%)
HSVhsv(260, 74%, 76%)
CMYKcmyk(49%, 74.2%, 0%, 23.9%)
CIE-LABlab(35.65, 53.56, -67.16)
CIE-LCHlch(35.65, 85.91, 308.57°)
OKLaboklab(46.93% 0.0774 -0.1928)
OKLCHoklch(46.93% 0.208 291.9)
XYZxyz(16.0211, 8.8283, 51.8884)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6332C2 #91C232
analogous
#3249C2 #6332C2 #AB32C2
triadic
#6332C2 #C26332 #32C263
tetradic
#6332C2 #C23249 #91C232 #32C2AB
square
#6332C2 #C23249 #91C232 #32C2AB
split-complementary
#6332C2 #C2AB32 #49C232
monochromatic
#311961 #4A2591 #6332C2 #855CD5 #AA8DE2

Accessibility & contrast

On white

7.59
#6332C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6332C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6332C2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6332C2#FFFFFF#000000##FFFFFF
##6332C21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#445978
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6332c2;
/* rgb */ color: rgb(99, 50, 194);
/* oklch */ color: oklch(46.9% 0.208 291.9);
Tailwind
colors: {
  custom: {
    50: '#986fd6',
    500: '#6332c2',
    950: '#000000',
  },
}
SCSS
$custom: #6332c2;
$custom-light: #986fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6332c2",
  "rgb": {
    "r": 99,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 260.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.20774,
    "h": 291.9
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#6332C2
secondary
#B3CC84
accent
#E246AD
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6332C2

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

Preview Lab → · Contrast checker → · Palette generator →

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