#33134D#33134D

#33134D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.103 H 305.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#33134D
RGBrgb(51, 19, 77)
HSLhsl(273, 60%, 19%)
HSVhsv(273, 75%, 30%)
CMYKcmyk(33.8%, 75.3%, 0%, 69.8%)
CIE-LABlab(13.86, 28.21, -29.37)
CIE-LCHlch(13.86, 40.73, 313.84°)
OKLaboklab(26.98% 0.0602 -0.0833)
OKLCHoklch(26.98% 0.103 305.9)
XYZxyz(2.9374, 1.7054, 7.1942)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33134D #2D4D13
analogous
#16134D #33134D #4D134A
triadic
#33134D #4D3313 #134D33
tetradic
#33134D #4D1613 #2D4D13 #134A4D
square
#33134D #4D1613 #2D4D13 #134A4D
split-complementary
#33134D #4A4D13 #134D16
monochromatic
#100619 #12071C #33134D #541F7E #742BAF

Accessibility & contrast

On white

15.66
#33134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33134D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33134D#FFFFFF#000000##FFFFFF
##33134D1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#03234C
Tritanopia (blue-blind)
#2E202E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33134d;
/* rgb */ color: rgb(51, 19, 77);
/* oklch */ color: oklch(27.0% 0.103 305.9);
Tailwind
colors: {
  custom: {
    50: '#6e537f',
    500: '#33134d',
    950: '#000000',
  },
}
SCSS
$custom: #33134d;
$custom-light: #6e537f;
$custom-dark: #000000;
JSON
{
  "hex": "#33134d",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 273.103,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26982,
    "c": 0.10283,
    "h": 305.9
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#33134D
secondary
#5A8636
accent
#E4448C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33134D

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

Preview Lab → · Contrast checker → · Palette generator →

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