#33318E#33318E

#33318E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.149 H 277.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#33318E
RGBrgb(51, 49, 142)
HSLhsl(241, 49%, 37%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(64.1%, 65.5%, 0%, 44.3%)
CIE-LABlab(26.31, 30.59, -51.34)
CIE-LCHlch(26.31, 59.77, 300.79°)
OKLaboklab(37.74% 0.0193 -0.1479)
OKLCHoklch(37.74% 0.149 277.4)
XYZxyz(7.3445, 4.8528, 26.1356)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33318E #8C8E31
analogous
#315E8E #33318E #61318E
triadic
#33318E #8E3331 #318E33
tetradic
#33318E #8E315E #8C8E31 #318E61
square
#33318E #8E315E #8C8E31 #318E61
split-complementary
#33318E #8E6131 #5E8E31
monochromatic
#121233 #232161 #33318E #4341BB #6F6DCD

Accessibility & contrast

On white

10.66
#33318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#33318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33318E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33318E#FFFFFF#000000##FFFFFF
##33318E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33318e;
/* rgb */ color: rgb(51, 49, 142);
/* oklch */ color: oklch(37.7% 0.149 277.4);
Tailwind
colors: {
  custom: {
    50: '#7669b0',
    500: '#33318e',
    950: '#000000',
  },
}
SCSS
$custom: #33318e;
$custom-light: #7669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33318e",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 241.29,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.14918,
    "h": 277.4
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#33318E
secondary
#B2B467
accent
#D850D5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33318E

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

Preview Lab → · Contrast checker → · Palette generator →

#33318E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva