#33135A#33135A

#33135A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.119 H 299.0°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#33135A
RGBrgb(51, 19, 90)
HSLhsl(267, 65%, 21%)
HSVhsv(267, 79%, 35%)
CMYKcmyk(43.3%, 78.9%, 0%, 64.7%)
CIE-LABlab(15.00, 31.84, -36.37)
CIE-LCHlch(15.00, 48.33, 311.20°)
OKLaboklab(28.15% 0.0577 -0.1039)
OKLCHoklch(28.15% 0.119 299)
XYZxyz(3.4431, 1.9077, 9.8577)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33135A #3A5A13
analogous
#13175A #33135A #57135A
triadic
#33135A #5A3313 #135A33
tetradic
#33135A #5A1317 #3A5A13 #135A57
square
#33135A #5A1317 #3A5A13 #135A57
split-complementary
#33135A #5A5713 #175A13
monochromatic
#0E0519 #160827 #33135A #501E8D #6C28BF

Accessibility & contrast

On white

15.20
#33135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#33135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33135A
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33135A#FFFFFF#000000##FFFFFF
##33135A1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2A2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33135a;
/* rgb */ color: rgb(51, 19, 90);
/* oklch */ color: oklch(28.1% 0.119 299.0);
Tailwind
colors: {
  custom: {
    50: '#6f5489',
    500: '#33135a',
    950: '#000000',
  },
}
SCSS
$custom: #33135a;
$custom-light: #6f5489;
$custom-dark: #000000;
JSON
{
  "hex": "#33135a",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 267.042,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28146,
    "c": 0.11882,
    "h": 299
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#33135A
secondary
#699237
accent
#E8409C
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33135A

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

Preview Lab → · Contrast checker → · Palette generator →

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