#33317C#33317C

#33317C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.124 H 279.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#33317C
RGBrgb(51, 49, 124)
HSLhsl(242, 43%, 34%)
HSVhsv(242, 60%, 49%)
CMYKcmyk(58.9%, 60.5%, 0%, 51.4%)
CIE-LABlab(24.81, 24.27, -42.53)
CIE-LCHlch(24.81, 48.97, 299.72°)
OKLaboklab(36.17% 0.0203 -0.122)
OKLCHoklch(36.17% 0.124 279.4)
XYZxyz(6.1005, 4.3553, 19.5841)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33317C #7A7C31
analogous
#31557C #33317C #59317C
triadic
#33317C #7C3331 #317C33
tetradic
#33317C #7C3155 #7A7C31 #317C59
square
#33317C #7C3155 #7A7C31 #317C59
split-complementary
#33317C #7C5931 #557C31
monochromatic
#0F0E24 #212050 #33317C #4542A8 #6865C2

Accessibility & contrast

On white

11.22
#33317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#33317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33317C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33317C#FFFFFF#000000##FFFFFF
##33317C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#0A4351
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33317c;
/* rgb */ color: rgb(51, 49, 124);
/* oklch */ color: oklch(36.2% 0.124 279.4);
Tailwind
colors: {
  custom: {
    50: '#7269a2',
    500: '#33317c',
    950: '#000000',
  },
}
SCSS
$custom: #33317c;
$custom-light: #7269a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33317c",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 241.6,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36169,
    "c": 0.12368,
    "h": 279.4
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#33317C
secondary
#A8AA5F
accent
#D355D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33317C

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

Preview Lab → · Contrast checker → · Palette generator →

#33317C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva