#332192#332192

#332192 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.173 H 280.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#332192
RGBrgb(51, 33, 146)
HSLhsl(250, 63%, 35%)
HSVhsv(250, 77%, 57%)
CMYKcmyk(65.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.22, 41.46, -58.89)
CIE-LCHlch(23.22, 72.02, 305.15°)
OKLaboklab(35.64% 0.0309 -0.1699)
OKLCHoklch(35.64% 0.173 280.3)
XYZxyz(7.0958, 3.8663, 27.5609)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332192 #809221
analogous
#214792 #332192 #6C2192
triadic
#332192 #923321 #219233
tetradic
#332192 #922147 #809221 #21926C
square
#332192 #922147 #809221 #21926C
split-complementary
#332192 #926C21 #479221
monochromatic
#100A2E #221660 #332192 #442CC4 #6A55D9

Accessibility & contrast

On white

11.84
#332192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#332192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332192
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332192#FFFFFF#000000##FFFFFF
##3321921.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #332192;
/* rgb */ color: rgb(51, 33, 146);
/* oklch */ color: oklch(35.6% 0.173 280.3);
Tailwind
colors: {
  custom: {
    50: '#785fb3',
    500: '#332192',
    950: '#000000',
  },
}
SCSS
$custom: #332192;
$custom-light: #785fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#332192",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 249.558,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.17273,
    "h": 280.3
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#332192
secondary
#ABBC53
accent
#E642CC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332192

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

Preview Lab → · Contrast checker → · Palette generator →

#332192 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva