#6333B2#6333B2

#6333B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.189 H 295.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6333B2
RGBrgb(99, 51, 178)
HSLhsl(263, 55%, 45%)
HSVhsv(263, 71%, 70%)
CMYKcmyk(44.4%, 71.3%, 0%, 30.2%)
CIE-LABlab(34.47, 48.80, -59.66)
CIE-LCHlch(34.47, 77.07, 309.28°)
OKLaboklab(45.67% 0.0801 -0.1708)
OKLCHoklch(45.67% 0.189 295.1)
XYZxyz(14.3631, 8.2343, 42.9435)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6333B2 #82B233
analogous
#3342B2 #6333B2 #A333B2
triadic
#6333B2 #B26333 #33B263
tetradic
#6333B2 #B23342 #82B233 #33B2A3
square
#6333B2 #B23342 #82B233 #33B2A3
split-complementary
#6333B2 #B2A333 #42B233
monochromatic
#2E1853 #492582 #6333B2 #8254CE #A584DC

Accessibility & contrast

On white

7.93
#6333B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6333B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6333B2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6333B2#FFFFFF#000000##FFFFFF
##6333B21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.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: #6333b2;
/* rgb */ color: rgb(99, 51, 178);
/* oklch */ color: oklch(45.7% 0.189 295.1);
Tailwind
colors: {
  custom: {
    50: '#966fca',
    500: '#6333b2',
    950: '#000000',
  },
}
SCSS
$custom: #6333b2;
$custom-light: #966fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6333b2",
  "rgb": {
    "r": 99,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 262.677,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.1886,
    "h": 295.1
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#6333B2
secondary
#A9C57C
accent
#DF49A6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6333B2

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

Preview Lab → · Contrast checker → · Palette generator →

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