#33115C#33115C

#33115C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.124 H 298.6°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#33115C
RGBrgb(51, 17, 92)
HSLhsl(267, 69%, 21%)
HSVhsv(267, 82%, 36%)
CMYKcmyk(44.6%, 81.5%, 0%, 63.9%)
CIE-LABlab(14.83, 33.41, -37.98)
CIE-LCHlch(14.83, 50.58, 311.34°)
OKLaboklab(28.09% 0.0591 -0.1086)
OKLCHoklch(28.09% 0.124 298.6)
XYZxyz(3.4970, 1.8774, 10.3013)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33115C #3A5C11
analogous
#11155C #33115C #59115C
triadic
#33115C #5C3311 #115C33
tetradic
#33115C #5C1115 #3A5C11 #115C59
square
#33115C #5C1115 #3A5C11 #115C59
split-complementary
#33115C #5C5911 #155C11
monochromatic
#0E051A #160728 #33115C #501B90 #6C24C3

Accessibility & contrast

On white

15.27
#33115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#33115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33115C
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33115C#FFFFFF#000000##FFFFFF
##33115C1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#292536
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33115c;
/* rgb */ color: rgb(51, 17, 92);
/* oklch */ color: oklch(28.1% 0.124 298.6);
Tailwind
colors: {
  custom: {
    50: '#70538b',
    500: '#33115c',
    950: '#000000',
  },
}
SCSS
$custom: #33115c;
$custom-light: #70538b;
$custom-dark: #000000;
JSON
{
  "hex": "#33115c",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 267.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28088,
    "c": 0.12367,
    "h": 298.6
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#33115C
secondary
#699534
accent
#EC3C9C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33115C

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

Preview Lab → · Contrast checker → · Palette generator →

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