#33115B#33115B

#33115B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.122 H 299.0°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#33115B
RGBrgb(51, 17, 91)
HSLhsl(268, 69%, 21%)
HSVhsv(268, 81%, 36%)
CMYKcmyk(44%, 81.3%, 0%, 64.3%)
CIE-LABlab(14.73, 33.13, -37.46)
CIE-LCHlch(14.73, 50.01, 311.49°)
OKLaboklab(27.99% 0.0594 -0.1071)
OKLCHoklch(27.99% 0.122 299)
XYZxyz(3.4535, 1.8600, 10.0726)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33115B #395B11
analogous
#11145B #33115B #58115B
triadic
#33115B #5B3311 #115B33
tetradic
#33115B #5B1114 #395B11 #115B58
square
#33115B #5B1114 #395B11 #115B58
split-complementary
#33115B #5B5811 #145B11
monochromatic
#0E051A #160727 #33115B #501B8F #6D24C2

Accessibility & contrast

On white

15.31
#33115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33115B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33115B#FFFFFF#000000##FFFFFF
##33115B1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#292435
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33115b;
/* rgb */ color: rgb(51, 17, 91);
/* oklch */ color: oklch(28.0% 0.122 299.0);
Tailwind
colors: {
  custom: {
    50: '#6f538a',
    500: '#33115b',
    950: '#000000',
  },
}
SCSS
$custom: #33115b;
$custom-light: #6f538a;
$custom-dark: #000000;
JSON
{
  "hex": "#33115b",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 267.568,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27992,
    "c": 0.12249,
    "h": 299
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#33115B
secondary
#689434
accent
#EB3C9B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33115B

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

Preview Lab → · Contrast checker → · Palette generator →

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