#33135C#33135C

#33135C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.121 H 298.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#33135C
RGBrgb(51, 19, 92)
HSLhsl(266, 66%, 22%)
HSVhsv(266, 79%, 36%)
CMYKcmyk(44.6%, 79.3%, 0%, 63.9%)
CIE-LABlab(15.18, 32.41, -37.40)
CIE-LCHlch(15.18, 49.49, 310.91°)
OKLaboklab(28.34% 0.0571 -0.1069)
OKLCHoklch(28.34% 0.121 298.1)
XYZxyz(3.5294, 1.9422, 10.3121)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33135C #3C5C13
analogous
#13185C #33135C #58135C
triadic
#33135C #5C3313 #135C33
tetradic
#33135C #5C1318 #3C5C13 #135C58
square
#33135C #5C1318 #3C5C13 #135C58
split-complementary
#33135C #5C5813 #185C13
monochromatic
#0E0519 #170929 #33135C #4F1D8F #6B28C1

Accessibility & contrast

On white

15.13
#33135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33135C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33135C#FFFFFF#000000##FFFFFF
##33135C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#292636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33135c;
/* rgb */ color: rgb(51, 19, 92);
/* oklch */ color: oklch(28.3% 0.121 298.1);
Tailwind
colors: {
  custom: {
    50: '#6f548b',
    500: '#33135c',
    950: '#000000',
  },
}
SCSS
$custom: #33135c;
$custom-light: #6f548b;
$custom-dark: #000000;
JSON
{
  "hex": "#33135c",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 266.301,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.12126,
    "h": 298.1
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#33135C
secondary
#6B9437
accent
#E93F9E
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33135C

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

Preview Lab → · Contrast checker → · Palette generator →

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