#33124B#33124B

#33124B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.102 H 307.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#33124B
RGBrgb(51, 18, 75)
HSLhsl(275, 61%, 18%)
HSVhsv(275, 76%, 29%)
CMYKcmyk(32%, 76%, 0%, 70.6%)
CIE-LABlab(13.50, 28.21, -28.58)
CIE-LCHlch(13.50, 40.16, 314.63°)
OKLaboklab(26.67% 0.0618 -0.081)
OKLCHoklch(26.67% 0.102 307.3)
XYZxyz(2.8513, 1.6445, 6.8225)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33124B #2A4B12
analogous
#16124B #33124B #4B1246
triadic
#33124B #4B3312 #124B33
tetradic
#33124B #4B1612 #2A4B12 #12464B
square
#33124B #4B1612 #2A4B12 #12464B
split-complementary
#33124B #464B12 #124B16
monochromatic
#110619 #11061A #33124B #551E7C #762AAE

Accessibility & contrast

On white

15.80
#33124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33124B
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33124B#FFFFFF#000000##FFFFFF
##33124B1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#04234A
Tritanopia (blue-blind)
#2F1F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33124b;
/* rgb */ color: rgb(51, 18, 75);
/* oklch */ color: oklch(26.7% 0.102 307.3);
Tailwind
colors: {
  custom: {
    50: '#6d537e',
    500: '#33124b',
    950: '#000000',
  },
}
SCSS
$custom: #33124b;
$custom-light: #6d537e;
$custom-dark: #000000;
JSON
{
  "hex": "#33124b",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 274.737,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26673,
    "c": 0.10187,
    "h": 307.3
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#33124B
secondary
#568435
accent
#E44387
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33124B

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

Preview Lab → · Contrast checker → · Palette generator →

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