#33115F#33115F

#33115F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.127 H 297.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#33115F
RGBrgb(51, 17, 95)
HSLhsl(266, 70%, 22%)
HSVhsv(266, 82%, 37%)
CMYKcmyk(46.3%, 82.1%, 0%, 62.7%)
CIE-LABlab(15.12, 34.25, -39.51)
CIE-LCHlch(15.12, 52.29, 310.92°)
OKLaboklab(28.38% 0.0582 -0.1131)
OKLCHoklch(28.38% 0.127 297.2)
XYZxyz(3.6307, 1.9309, 11.0057)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33115F #3D5F11
analogous
#11165F #33115F #5A115F
triadic
#33115F #5F3311 #115F33
tetradic
#33115F #5F1116 #3D5F11 #115F5A
square
#33115F #5F1116 #3D5F11 #115F5A
split-complementary
#33115F #5F5A11 #165F11
monochromatic
#0E051A #17082B #33115F #4F1A93 #6B24C7

Accessibility & contrast

On white

15.15
#33115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#33115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33115F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33115F#FFFFFF#000000##FFFFFF
##33115F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#272637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33115f;
/* rgb */ color: rgb(51, 17, 95);
/* oklch */ color: oklch(28.4% 0.127 297.2);
Tailwind
colors: {
  custom: {
    50: '#70538d',
    500: '#33115f',
    950: '#000000',
  },
}
SCSS
$custom: #33115f;
$custom-light: #70538d;
$custom-dark: #000000;
JSON
{
  "hex": "#33115f",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 266.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28381,
    "c": 0.12723,
    "h": 297.2
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#33115F
secondary
#6C9834
accent
#EC3B9F
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33115F

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

Preview Lab → · Contrast checker → · Palette generator →

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