#33147B#33147B

#33147B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.157 H 287.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#33147B
RGBrgb(51, 20, 123)
HSLhsl(258, 72%, 28%)
HSVhsv(258, 84%, 48%)
CMYKcmyk(58.5%, 83.7%, 0%, 51.8%)
CIE-LABlab(18.51, 40.92, -52.20)
CIE-LCHlch(18.51, 66.32, 308.09°)
OKLaboklab(31.62% 0.0464 -0.1503)
OKLCHoklch(31.62% 0.157 287.2)
XYZxyz(5.1895, 2.6339, 18.9700)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33147B #5C7B14
analogous
#14297B #33147B #66147B
triadic
#33147B #7B3314 #147B33
tetradic
#33147B #7B1429 #5C7B14 #147B66
square
#33147B #7B1429 #5C7B14 #147B66
split-complementary
#33147B #7B6614 #297B14
monochromatic
#0B041A #1D0B46 #33147B #491DB0 #622DDD

Accessibility & contrast

On white

13.75
#33147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#33147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33147B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33147B#FFFFFF#000000##FFFFFF
##33147B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#113348
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #33147b;
/* rgb */ color: rgb(51, 20, 123);
/* oklch */ color: oklch(31.6% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#7457a2',
    500: '#33147b',
    950: '#000000',
  },
}
SCSS
$custom: #33147b;
$custom-light: #7457a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33147b",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 258.058,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31621,
    "c": 0.15728,
    "h": 287.2
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#33147B
secondary
#8DB13A
accent
#EF39B8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33147B

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

Preview Lab → · Contrast checker → · Palette generator →

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