#33145B#33145B

#33145B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.119 H 298.3°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#33145B
RGBrgb(51, 20, 91)
HSLhsl(266, 64%, 22%)
HSVhsv(266, 78%, 36%)
CMYKcmyk(44%, 78%, 0%, 64.3%)
CIE-LABlab(15.27, 31.60, -36.58)
CIE-LCHlch(15.27, 48.34, 310.82°)
OKLaboklab(28.37% 0.0564 -0.1045)
OKLCHoklch(28.37% 0.119 298.3)
XYZxyz(3.5032, 1.9594, 10.0891)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33145B #3C5B14
analogous
#14195B #33145B #57145B
triadic
#33145B #5B3314 #145B33
tetradic
#33145B #5B1419 #3C5B14 #145B57
square
#33145B #5B1419 #3C5B14 #145B57
split-complementary
#33145B #5B5714 #195B14
monochromatic
#0E0619 #170929 #33145B #4F1F8D #6B2ABF

Accessibility & contrast

On white

15.09
#33145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#33145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33145B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33145B#FFFFFF#000000##FFFFFF
##33145B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#292636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33145b;
/* rgb */ color: rgb(51, 20, 91);
/* oklch */ color: oklch(28.4% 0.119 298.3);
Tailwind
colors: {
  custom: {
    50: '#6f558a',
    500: '#33145b',
    950: '#000000',
  },
}
SCSS
$custom: #33145b;
$custom-light: #6f558a;
$custom-dark: #000000;
JSON
{
  "hex": "#33145b",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 266.197,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28371,
    "c": 0.11877,
    "h": 298.3
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#33145B
secondary
#6B9338
accent
#E7419E
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33145B

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

Preview Lab → · Contrast checker → · Palette generator →

#33145B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva