#33124F#33124F

#33124F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.107 H 304.9°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#33124F
RGBrgb(51, 18, 79)
HSLhsl(272, 63%, 19%)
HSVhsv(272, 77%, 31%)
CMYKcmyk(35.4%, 77.2%, 0%, 69%)
CIE-LABlab(13.83, 29.29, -30.79)
CIE-LCHlch(13.83, 42.50, 313.57°)
OKLaboklab(27.02% 0.0611 -0.0875)
OKLCHoklch(27.02% 0.107 304.9)
XYZxyz(2.9925, 1.7010, 7.5663)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33124F #2E4F12
analogous
#15124F #33124F #4F124D
triadic
#33124F #4F3312 #124F33
tetradic
#33124F #4F1512 #2E4F12 #124D4F
square
#33124F #4F1512 #2E4F12 #124D4F
split-complementary
#33124F #4D4F12 #124F15
monochromatic
#100619 #13071D #33124F #531D81 #7329B3

Accessibility & contrast

On white

15.67
#33124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#33124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33124F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33124F#FFFFFF#000000##FFFFFF
##33124F1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#2E202F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33124f;
/* rgb */ color: rgb(51, 18, 79);
/* oklch */ color: oklch(27.0% 0.107 304.9);
Tailwind
colors: {
  custom: {
    50: '#6e5381',
    500: '#33124f',
    950: '#000000',
  },
}
SCSS
$custom: #33124f;
$custom-light: #6e5381;
$custom-dark: #000000;
JSON
{
  "hex": "#33124f",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 272.459,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27016,
    "c": 0.10675,
    "h": 304.9
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#33124F
secondary
#5B8835
accent
#E6428D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33124F

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

Preview Lab → · Contrast checker → · Palette generator →

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