#332694#332694

#332694 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.170 H 279.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#332694
RGBrgb(51, 38, 148)
HSLhsl(247, 59%, 36%)
HSVhsv(247, 74%, 58%)
CMYKcmyk(65.5%, 74.3%, 0%, 42%)
CIE-LABlab(24.41, 39.34, -58.17)
CIE-LCHlch(24.41, 70.22, 304.07°)
OKLaboklab(36.54% 0.0271 -0.1679)
OKLCHoklch(36.54% 0.17 279.2)
XYZxyz(7.4019, 4.2276, 28.4372)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332694 #879426
analogous
#265094 #332694 #6A2694
triadic
#332694 #943326 #269433
tetradic
#332694 #942650 #879426 #26946A
square
#332694 #942650 #879426 #26946A
split-complementary
#332694 #946A26 #509426
monochromatic
#110D33 #221963 #332694 #4433C5 #6D5FD6

Accessibility & contrast

On white

11.38
#332694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#332694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332694
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332694#FFFFFF#000000##FFFFFF
##3326941.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #332694;
/* rgb */ color: rgb(51, 38, 148);
/* oklch */ color: oklch(36.5% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#7862b4',
    500: '#332694',
    950: '#000000',
  },
}
SCSS
$custom: #332694;
$custom-light: #7862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#332694",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 247.091,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.17007,
    "h": 279.2
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#332694
secondary
#B0BB5B
accent
#E245D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #332694

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

Preview Lab → · Contrast checker → · Palette generator →

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