#33134A#33134A

#33134A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.099 H 307.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#33134A
RGBrgb(51, 19, 74)
HSLhsl(275, 59%, 18%)
HSVhsv(275, 74%, 29%)
CMYKcmyk(31.1%, 74.3%, 0%, 71%)
CIE-LABlab(13.61, 27.39, -27.70)
CIE-LCHlch(13.61, 38.96, 314.68°)
OKLaboklab(26.73% 0.0606 -0.0784)
OKLCHoklch(26.73% 0.099 307.7)
XYZxyz(2.8339, 1.6640, 6.6491)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33134A #2A4A13
analogous
#17134A #33134A #4A1345
triadic
#33134A #4A3313 #134A33
tetradic
#33134A #4A1713 #2A4A13 #13454A
square
#33134A #4A1713 #2A4A13 #13454A
split-complementary
#33134A #454A13 #134A17
monochromatic
#110618 #110619 #33134A #55207B #762CAB

Accessibility & contrast

On white

15.76
#33134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#33134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33134A
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33134A#FFFFFF#000000##FFFFFF
##33134A1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#072349
Tritanopia (blue-blind)
#2F1F2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33134a;
/* rgb */ color: rgb(51, 19, 74);
/* oklch */ color: oklch(26.7% 0.099 307.7);
Tailwind
colors: {
  custom: {
    50: '#6d537d',
    500: '#33134a',
    950: '#000000',
  },
}
SCSS
$custom: #33134a;
$custom-light: #6d537d;
$custom-dark: #000000;
JSON
{
  "hex": "#33134a",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 274.909,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2673,
    "c": 0.09913,
    "h": 307.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#33134A
secondary
#568336
accent
#E24587
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #33134A

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

Preview Lab → · Contrast checker → · Palette generator →

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