#33114F#33114F

#33114F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.108 H 305.2°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#33114F
RGBrgb(51, 17, 79)
HSLhsl(273, 65%, 19%)
HSVhsv(273, 78%, 31%)
CMYKcmyk(35.4%, 78.5%, 0%, 69%)
CIE-LABlab(13.65, 29.82, -31.09)
CIE-LCHlch(13.65, 43.08, 313.80°)
OKLaboklab(26.88% 0.0623 -0.0884)
OKLCHoklch(26.88% 0.108 305.2)
XYZxyz(2.9767, 1.6692, 7.5610)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33114F #2D4F11
analogous
#14114F #33114F #4F114C
triadic
#33114F #4F3311 #114F33
tetradic
#33114F #4F1411 #2D4F11 #114C4F
square
#33114F #4F1411 #2D4F11 #114C4F
split-complementary
#33114F #4C4F11 #114F14
monochromatic
#100519 #12061D #33114F #541C81 #7427B4

Accessibility & contrast

On white

15.74
#33114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#33114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33114F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33114F#FFFFFF#000000##FFFFFF
##33114F1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33114f;
/* rgb */ color: rgb(51, 17, 79);
/* oklch */ color: oklch(26.9% 0.108 305.2);
Tailwind
colors: {
  custom: {
    50: '#6e5281',
    500: '#33114f',
    950: '#000000',
  },
}
SCSS
$custom: #33114f;
$custom-light: #6e5281;
$custom-dark: #000000;
JSON
{
  "hex": "#33114f",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 272.903,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26884,
    "c": 0.10815,
    "h": 305.2
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#33114F
secondary
#5A8833
accent
#E8408C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33114F

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

Preview Lab → · Contrast checker → · Palette generator →

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