#33115A#33115A

#33115A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.121 H 299.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#33115A
RGBrgb(51, 17, 90)
HSLhsl(268, 68%, 21%)
HSVhsv(268, 81%, 35%)
CMYKcmyk(43.3%, 81.1%, 0%, 64.7%)
CIE-LABlab(14.64, 32.85, -36.95)
CIE-LCHlch(14.64, 49.44, 311.64°)
OKLaboklab(27.9% 0.0597 -0.1056)
OKLCHoklch(27.9% 0.121 299.5)
XYZxyz(3.4107, 1.8428, 9.8469)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33115A #385A11
analogous
#11145A #33115A #57115A
triadic
#33115A #5A3311 #115A33
tetradic
#33115A #5A1114 #385A11 #115A57
square
#33115A #5A1114 #385A11 #115A57
split-complementary
#33115A #5A5711 #145A11
monochromatic
#0F051A #160727 #33115A #501B8D #6D24C1

Accessibility & contrast

On white

15.34
#33115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#33115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33115A
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33115A#FFFFFF#000000##FFFFFF
##33115A1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#2A2435
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33115a;
/* rgb */ color: rgb(51, 17, 90);
/* oklch */ color: oklch(27.9% 0.121 299.5);
Tailwind
colors: {
  custom: {
    50: '#6f5389',
    500: '#33115a',
    950: '#000000',
  },
}
SCSS
$custom: #33115a;
$custom-light: #6f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#33115a",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 267.945,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.1213,
    "h": 299.5
  },
  "luminance": 0.01843
}

Semantic roles & 50–950 ramp

primary
#33115A
secondary
#679334
accent
#EB3D9A
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33115A

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

Preview Lab → · Contrast checker → · Palette generator →

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