#33135D#33135D

#33135D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.122 H 297.7°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#33135D
RGBrgb(51, 19, 93)
HSLhsl(266, 66%, 22%)
HSVhsv(266, 80%, 36%)
CMYKcmyk(45.2%, 79.6%, 0%, 63.5%)
CIE-LABlab(15.27, 32.70, -37.92)
CIE-LCHlch(15.27, 50.07, 310.77°)
OKLaboklab(28.43% 0.0569 -0.1085)
OKLCHoklch(28.43% 0.122 297.7)
XYZxyz(3.5734, 1.9598, 10.5438)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33135D #3D5D13
analogous
#13185D #33135D #58135D
triadic
#33135D #5D3313 #135D33
tetradic
#33135D #5D1318 #3D5D13 #135D58
square
#33135D #5D1318 #3D5D13 #135D58
split-complementary
#33135D #5D5813 #185D13
monochromatic
#0E0519 #17092A #33135D #4F1D90 #6B28C3

Accessibility & contrast

On white

15.09
#33135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33135D
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33135D#FFFFFF#000000##FFFFFF
##33135D1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#282637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33135d;
/* rgb */ color: rgb(51, 19, 93);
/* oklch */ color: oklch(28.4% 0.122 297.7);
Tailwind
colors: {
  custom: {
    50: '#70548c',
    500: '#33135d',
    950: '#000000',
  },
}
SCSS
$custom: #33135d;
$custom-light: #70548c;
$custom-dark: #000000;
JSON
{
  "hex": "#33135d",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 265.946,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.12248,
    "h": 297.7
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#33135D
secondary
#6C9537
accent
#E93F9F
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33135D

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

Preview Lab → · Contrast checker → · Palette generator →

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