#33114A#33114A

#33114A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.102 H 308.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#33114A
RGBrgb(51, 17, 74)
HSLhsl(276, 63%, 18%)
HSVhsv(276, 77%, 29%)
CMYKcmyk(31.1%, 77%, 0%, 71%)
CIE-LABlab(13.23, 28.48, -28.33)
CIE-LCHlch(13.23, 40.17, 315.15°)
OKLaboklab(26.45% 0.0632 -0.0803)
OKLCHoklch(26.45% 0.102 308.2)
XYZxyz(2.8015, 1.5992, 6.6383)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33114A #284A11
analogous
#16114A #33114A #4A1144
triadic
#33114A #4A3311 #114A33
tetradic
#33114A #4A1611 #284A11 #11444A
square
#33114A #4A1611 #284A11 #11444A
split-complementary
#33114A #444A11 #114A16
monochromatic
#110619 #110619 #33114A #551C7C #7828AE

Accessibility & contrast

On white

15.91
#33114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#33114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33114A
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33114A#FFFFFF#000000##FFFFFF
##33114A1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33114a;
/* rgb */ color: rgb(51, 17, 74);
/* oklch */ color: oklch(26.5% 0.102 308.2);
Tailwind
colors: {
  custom: {
    50: '#6d527d',
    500: '#33114a',
    950: '#000000',
  },
}
SCSS
$custom: #33114a;
$custom-light: #6d527d;
$custom-dark: #000000;
JSON
{
  "hex": "#33114a",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 275.789,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26451,
    "c": 0.10214,
    "h": 308.2
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#33114A
secondary
#548333
accent
#E64284
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #33114A

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

Preview Lab → · Contrast checker → · Palette generator →

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