#33134E#33134E

#33134E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.104 H 305.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#33134E
RGBrgb(51, 19, 78)
HSLhsl(273, 61%, 19%)
HSVhsv(273, 76%, 31%)
CMYKcmyk(34.6%, 75.6%, 0%, 69.4%)
CIE-LABlab(13.94, 28.48, -29.93)
CIE-LCHlch(13.94, 41.32, 313.58°)
OKLaboklab(27.07% 0.0601 -0.085)
OKLCHoklch(27.07% 0.104 305.3)
XYZxyz(2.9730, 1.7196, 7.3816)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33134E #2E4E13
analogous
#15134E #33134E #4E134C
triadic
#33134E #4E3313 #134E33
tetradic
#33134E #4E1513 #2E4E13 #134C4E
square
#33134E #4E1513 #2E4E13 #134C4E
split-complementary
#33134E #4C4E13 #134E15
monochromatic
#100619 #13071D #33134E #531F7F #732BB0

Accessibility & contrast

On white

15.62
#33134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#33134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33134E
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33134E#FFFFFF#000000##FFFFFF
##33134E1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#01244D
Tritanopia (blue-blind)
#2E202E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33134e;
/* rgb */ color: rgb(51, 19, 78);
/* oklch */ color: oklch(27.1% 0.104 305.3);
Tailwind
colors: {
  custom: {
    50: '#6e5380',
    500: '#33134e',
    950: '#000000',
  },
}
SCSS
$custom: #33134e;
$custom-light: #6e5380;
$custom-dark: #000000;
JSON
{
  "hex": "#33134e",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 272.542,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27067,
    "c": 0.10407,
    "h": 305.3
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#33134E
secondary
#5B8736
accent
#E4448D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33134E

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

Preview Lab → · Contrast checker → · Palette generator →

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