#33135B#33135B

#33135B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.120 H 298.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#33135B
RGBrgb(51, 19, 91)
HSLhsl(267, 65%, 22%)
HSVhsv(267, 79%, 36%)
CMYKcmyk(44%, 79.1%, 0%, 64.3%)
CIE-LABlab(15.09, 32.13, -36.89)
CIE-LCHlch(15.09, 48.92, 311.05°)
OKLaboklab(28.24% 0.0574 -0.1054)
OKLCHoklch(28.24% 0.12 298.6)
XYZxyz(3.4860, 1.9248, 10.0834)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33135B #3B5B13
analogous
#13175B #33135B #57135B
triadic
#33135B #5B3313 #135B33
tetradic
#33135B #5B1317 #3B5B13 #135B57
square
#33135B #5B1317 #3B5B13 #135B57
split-complementary
#33135B #5B5713 #175B13
monochromatic
#0E0519 #170828 #33135B #4F1E8E #6C28C0

Accessibility & contrast

On white

15.16
#33135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#33135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33135B
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33135B#FFFFFF#000000##FFFFFF
##33135B1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#292536
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33135b;
/* rgb */ color: rgb(51, 19, 91);
/* oklch */ color: oklch(28.2% 0.120 298.6);
Tailwind
colors: {
  custom: {
    50: '#6f548a',
    500: '#33135b',
    950: '#000000',
  },
}
SCSS
$custom: #33135b;
$custom-light: #6f548a;
$custom-dark: #000000;
JSON
{
  "hex": "#33135b",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 266.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2824,
    "c": 0.12004,
    "h": 298.6
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#33135B
secondary
#6A9337
accent
#E83F9D
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33135B

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

Preview Lab → · Contrast checker → · Palette generator →

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