#332093#332093

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

Color values

HEX#332093
RGBrgb(51, 32, 147)
HSLhsl(250, 64%, 35%)
HSVhsv(250, 78%, 58%)
CMYKcmyk(65.3%, 78.2%, 0%, 42.4%)
CIE-LABlab(23.15, 42.31, -59.64)
CIE-LCHlch(23.15, 73.12, 305.35°)
OKLaboklab(35.62% 0.0312 -0.1721)
OKLCHoklch(35.62% 0.175 280.3)
XYZxyz(7.1465, 3.8429, 27.9632)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332093 #809320
analogous
#204693 #332093 #6C2093
triadic
#332093 #933320 #209333
tetradic
#332093 #932046 #809320 #20936C
square
#332093 #932046 #809320 #20936C
split-complementary
#332093 #936C20 #469320
monochromatic
#100A2E #221561 #332093 #442BC5 #6A54DA

Accessibility & contrast

On white

11.87
#332093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332093
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332093#FFFFFF#000000##FFFFFF
##3320931.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #332093;
/* rgb */ color: rgb(51, 32, 147);
/* oklch */ color: oklch(35.6% 0.175 280.3);
Tailwind
colors: {
  custom: {
    50: '#785fb4',
    500: '#332093',
    950: '#000000',
  },
}
SCSS
$custom: #332093;
$custom-light: #785fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#332093",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 249.913,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.17494,
    "h": 280.3
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#332093
secondary
#ABBD52
accent
#E741CC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332093

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

Preview Lab → · Contrast checker → · Palette generator →

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