#33318D#33318D

#33318D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.148 H 277.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#33318D
RGBrgb(51, 49, 141)
HSLhsl(241, 48%, 37%)
HSVhsv(241, 65%, 55%)
CMYKcmyk(63.8%, 65.2%, 0%, 44.7%)
CIE-LABlab(26.22, 30.24, -50.87)
CIE-LCHlch(26.22, 59.18, 300.73°)
OKLaboklab(37.65% 0.0194 -0.1465)
OKLCHoklch(37.65% 0.148 277.6)
XYZxyz(7.2697, 4.8229, 25.7420)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33318D #8B8D31
analogous
#315D8D #33318D #61318D
triadic
#33318D #8D3331 #318D33
tetradic
#33318D #8D315D #8B8D31 #318D61
square
#33318D #8D315D #8B8D31 #318D61
split-complementary
#33318D #8D6131 #5D8D31
monochromatic
#121132 #232160 #33318D #4341BA #6E6CCC

Accessibility & contrast

On white

10.69
#33318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#33318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33318D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33318D#FFFFFF#000000##FFFFFF
##33318D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33318d;
/* rgb */ color: rgb(51, 49, 141);
/* oklch */ color: oklch(37.6% 0.148 277.6);
Tailwind
colors: {
  custom: {
    50: '#7669af',
    500: '#33318d',
    950: '#000000',
  },
}
SCSS
$custom: #33318d;
$custom-light: #7669af;
$custom-dark: #000000;
JSON
{
  "hex": "#33318d",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 241.304,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.1478,
    "h": 277.6
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#33318D
secondary
#B2B466
accent
#D850D5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33318D

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

Preview Lab → · Contrast checker → · Palette generator →

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