#33116F#33116F

#33116F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.146 H 291.2°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#33116F
RGBrgb(51, 17, 111)
HSLhsl(262, 73%, 25%)
HSVhsv(262, 85%, 44%)
CMYKcmyk(54.1%, 84.7%, 0%, 56.5%)
CIE-LABlab(16.76, 38.79, -47.35)
CIE-LCHlch(16.76, 61.22, 309.32°)
OKLaboklab(30.02% 0.0528 -0.1361)
OKLCHoklch(30.02% 0.146 291.2)
XYZxyz(4.4341, 2.2522, 15.2369)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33116F #4D6F11
analogous
#111E6F #33116F #62116F
triadic
#33116F #6F3311 #116F33
tetradic
#33116F #6F111E #4D6F11 #116F62
square
#33116F #6F111E #4D6F11 #116F62
split-complementary
#33116F #6F6211 #1E6F11
monochromatic
#0C041B #1B093A #33116F #4B19A4 #6421D9

Accessibility & contrast

On white

14.48
#33116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#33116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33116F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33116F#FFFFFF#000000##FFFFFF
##33116F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#1E2D41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #33116f;
/* rgb */ color: rgb(51, 17, 111);
/* oklch */ color: oklch(30.0% 0.146 291.2);
Tailwind
colors: {
  custom: {
    50: '#735499',
    500: '#33116f',
    950: '#000000',
  },
}
SCSS
$custom: #33116f;
$custom-light: #735499;
$custom-dark: #000000;
JSON
{
  "hex": "#33116f",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 261.702,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.14598,
    "h": 291.2
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#33116F
secondary
#7EA635
accent
#F038AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #33116F

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

Preview Lab → · Contrast checker → · Palette generator →

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