#33124A#33124A

#33124A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.101 H 308.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#33124A
RGBrgb(51, 18, 74)
HSLhsl(275, 61%, 18%)
HSVhsv(275, 76%, 29%)
CMYKcmyk(31.1%, 75.7%, 0%, 71%)
CIE-LABlab(13.42, 27.94, -28.02)
CIE-LCHlch(13.42, 39.57, 314.92°)
OKLaboklab(26.59% 0.0619 -0.0794)
OKLCHoklch(26.59% 0.101 308)
XYZxyz(2.8173, 1.6309, 6.6436)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33124A #294A12
analogous
#17124A #33124A #4A1245
triadic
#33124A #4A3312 #124A33
tetradic
#33124A #4A1712 #294A12 #12454A
square
#33124A #4A1712 #294A12 #12454A
split-complementary
#33124A #454A12 #124A17
monochromatic
#110619 #110619 #33124A #551E7B #772AAC

Accessibility & contrast

On white

15.83
#33124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33124A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33124A#FFFFFF#000000##FFFFFF
##33124A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#2F1E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33124a;
/* rgb */ color: rgb(51, 18, 74);
/* oklch */ color: oklch(26.6% 0.101 308.0);
Tailwind
colors: {
  custom: {
    50: '#6d537d',
    500: '#33124a',
    950: '#000000',
  },
}
SCSS
$custom: #33124a;
$custom-light: #6d537d;
$custom-dark: #000000;
JSON
{
  "hex": "#33124a",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 275.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26588,
    "c": 0.10066,
    "h": 308
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#33124A
secondary
#558335
accent
#E44486
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #33124A

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

Preview Lab → · Contrast checker → · Palette generator →

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