#33124D#33124D

#33124D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.104 H 306.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#33124D
RGBrgb(51, 18, 77)
HSLhsl(274, 62%, 19%)
HSVhsv(274, 77%, 30%)
CMYKcmyk(33.8%, 76.6%, 0%, 69.8%)
CIE-LABlab(13.66, 28.75, -29.69)
CIE-LCHlch(13.66, 41.33, 314.08°)
OKLaboklab(26.84% 0.0615 -0.0843)
OKLCHoklch(26.84% 0.104 306.1)
XYZxyz(2.9208, 1.6723, 7.1886)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33124D #2C4D12
analogous
#15124D #33124D #4D1249
triadic
#33124D #4D3312 #124D33
tetradic
#33124D #4D1512 #2C4D12 #12494D
square
#33124D #4D1512 #2C4D12 #12494D
split-complementary
#33124D #494D12 #124D15
monochromatic
#100619 #12061B #33124D #541E7F #7529B0

Accessibility & contrast

On white

15.74
#33124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#33124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33124D
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33124D#FFFFFF#000000##FFFFFF
##33124D1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33124d;
/* rgb */ color: rgb(51, 18, 77);
/* oklch */ color: oklch(26.8% 0.104 306.1);
Tailwind
colors: {
  custom: {
    50: '#6e537f',
    500: '#33124d',
    950: '#000000',
  },
}
SCSS
$custom: #33124d;
$custom-light: #6e537f;
$custom-dark: #000000;
JSON
{
  "hex": "#33124d",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 273.559,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.10431,
    "h": 306.1
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#33124D
secondary
#598635
accent
#E5438A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33124D

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

Preview Lab → · Contrast checker → · Palette generator →

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