#33034E#33034E

#33034E is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.3% C 0.124 H 308.3°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#33034E
RGBrgb(51, 3, 78)
HSLhsl(278, 93%, 16%)
HSVhsv(278, 96%, 31%)
CMYKcmyk(34.6%, 96.2%, 0%, 69.4%)
CIE-LABlab(11.41, 35.78, -34.05)
CIE-LCHlch(11.41, 49.39, 316.42°)
OKLaboklab(25.29% 0.0766 -0.0969)
OKLCHoklch(25.29% 0.124 308.3)
XYZxyz(2.7727, 1.3190, 7.3148)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33034E #1E4E03
analogous
#0D034E #33034E #4E0343
triadic
#33034E #4E3303 #034E33
tetradic
#33034E #4E0D03 #1E4E03 #03434E
square
#33034E #4E0D03 #1E4E03 #03434E
split-complementary
#33034E #434E03 #034E0D
monochromatic
#13011D #13011D #33034E #5A0589 #8008C4

Accessibility & contrast

On white

16.62
#33034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#33034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33034E
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33034E#FFFFFF#000000##FFFFFF
##33034E1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#2F192B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #33034e;
/* rgb */ color: rgb(51, 3, 78);
/* oklch */ color: oklch(25.3% 0.124 308.3);
Tailwind
colors: {
  custom: {
    50: '#6f4c80',
    500: '#33034e',
    950: '#000000',
  },
}
SCSS
$custom: #33034e;
$custom-light: #6f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#33034e",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 278.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25291,
    "c": 0.12354,
    "h": 308.3
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#33034E
secondary
#478E1E
accent
#FF2976
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08010A
muted
#7B777C

Preview Lab

Preview with #33034E

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

Preview Lab → · Contrast checker → · Palette generator →

#33034E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva