#33124C#33124C

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

Color values

HEX#33124C
RGBrgb(51, 18, 76)
HSLhsl(274, 62%, 18%)
HSVhsv(274, 76%, 30%)
CMYKcmyk(32.9%, 76.3%, 0%, 70.2%)
CIE-LABlab(13.58, 28.48, -29.13)
CIE-LCHlch(13.58, 40.74, 314.35°)
OKLaboklab(26.76% 0.0616 -0.0826)
OKLCHoklch(26.76% 0.103 306.7)
XYZxyz(2.8858, 1.6583, 7.0041)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33124C #2B4C12
analogous
#16124C #33124C #4C1248
triadic
#33124C #4C3312 #124C33
tetradic
#33124C #4C1612 #2B4C12 #12484C
square
#33124C #4C1612 #2B4C12 #12484C
split-complementary
#33124C #484C12 #124C16
monochromatic
#110619 #12061B #33124C #541E7D #7529AF

Accessibility & contrast

On white

15.77
#33124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33124C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33124C#FFFFFF#000000##FFFFFF
##33124C1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#03234B
Tritanopia (blue-blind)
#2F1F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33124c;
/* rgb */ color: rgb(51, 18, 76);
/* oklch */ color: oklch(26.8% 0.103 306.7);
Tailwind
colors: {
  custom: {
    50: '#6e537e',
    500: '#33124c',
    950: '#000000',
  },
}
SCSS
$custom: #33124c;
$custom-light: #6e537e;
$custom-dark: #000000;
JSON
{
  "hex": "#33124c",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 274.138,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26757,
    "c": 0.1031,
    "h": 306.7
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#33124C
secondary
#578535
accent
#E54389
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33124C

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

Preview Lab → · Contrast checker → · Palette generator →

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