#33135F#33135F

#33135F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.125 H 296.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#33135F
RGBrgb(51, 19, 95)
HSLhsl(265, 67%, 22%)
HSVhsv(265, 80%, 37%)
CMYKcmyk(46.3%, 80%, 0%, 62.7%)
CIE-LABlab(15.46, 33.27, -38.95)
CIE-LCHlch(15.46, 51.22, 310.50°)
OKLaboklab(28.62% 0.0563 -0.1115)
OKLCHoklch(28.62% 0.125 296.8)
XYZxyz(3.6631, 1.9957, 11.0165)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33135F #3F5F13
analogous
#13195F #33135F #59135F
triadic
#33135F #5F3313 #135F33
tetradic
#33135F #5F1319 #3F5F13 #135F59
square
#33135F #5F1319 #3F5F13 #135F59
split-complementary
#33135F #5F5913 #195F13
monochromatic
#0E051A #18092C #33135F #4E1D92 #6A27C5

Accessibility & contrast

On white

15.01
#33135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#33135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33135F
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33135F#FFFFFF#000000##FFFFFF
##33135F1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#272738
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #33135f;
/* rgb */ color: rgb(51, 19, 95);
/* oklch */ color: oklch(28.6% 0.125 296.8);
Tailwind
colors: {
  custom: {
    50: '#70548d',
    500: '#33135f',
    950: '#000000',
  },
}
SCSS
$custom: #33135f;
$custom-light: #70548d;
$custom-dark: #000000;
JSON
{
  "hex": "#33135f",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 265.263,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28622,
    "c": 0.12491,
    "h": 296.8
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#33135F
secondary
#6E9737
accent
#EA3EA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33135F

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

Preview Lab → · Contrast checker → · Palette generator →

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