#33149F#33149F

#33149F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.198 H 279.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#33149F
RGBrgb(51, 20, 159)
HSLhsl(253, 78%, 35%)
HSVhsv(253, 87%, 62%)
CMYKcmyk(67.9%, 87.4%, 0%, 37.6%)
CIE-LABlab(22.68, 51.23, -67.79)
CIE-LCHlch(22.68, 84.97, 307.08°)
OKLaboklab(35.7% 0.0331 -0.1957)
OKLCHoklch(35.7% 0.198 279.6)
XYZxyz(7.8714, 3.7067, 33.0948)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33149F #809F14
analogous
#143B9F #33149F #78149F
triadic
#33149F #9F3314 #149F33
tetradic
#33149F #9F143B #809F14 #149F78
square
#33149F #9F143B #809F14 #149F78
split-complementary
#33149F #9F7814 #3B9F14
monochromatic
#100632 #220D69 #33149F #441BD5 #6A46E8

Accessibility & contrast

On white

12.06
#33149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33149F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33149F#FFFFFF#000000##FFFFFF
##33149F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33149f;
/* rgb */ color: rgb(51, 20, 159);
/* oklch */ color: oklch(35.7% 0.198 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c5abd',
    500: '#33149f',
    950: '#000000',
  },
}
SCSS
$custom: #33149f;
$custom-light: #7c5abd;
$custom-dark: #000000;
JSON
{
  "hex": "#33149f",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 253.381,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35696,
    "c": 0.19844,
    "h": 279.6
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#33149F
secondary
#ABC846
accent
#F434C9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33149F

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

Preview Lab → · Contrast checker → · Palette generator →

#33149F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva