#33185B#33185B

#33185B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.113 H 297.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#33185B
RGBrgb(51, 24, 91)
HSLhsl(264, 58%, 23%)
HSVhsv(264, 74%, 36%)
CMYKcmyk(44%, 73.6%, 0%, 64.3%)
CIE-LABlab(16.07, 29.38, -35.29)
CIE-LCHlch(16.07, 45.92, 309.78°)
OKLaboklab(28.94% 0.0519 -0.1008)
OKLCHoklch(28.94% 0.113 297.2)
XYZxyz(3.5797, 2.1123, 10.1146)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33185B #405B18
analogous
#181F5B #33185B #54185B
triadic
#33185B #5B3318 #185B33
tetradic
#33185B #5B181F #405B18 #185B54
square
#33185B #5B181F #405B18 #185B54
split-complementary
#33185B #5B5418 #1F5B18
monochromatic
#0E0618 #180B2B #33185B #4E258B #6932BC

Accessibility & contrast

On white

14.76
#33185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#33185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33185B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33185B#FFFFFF#000000##FFFFFF
##33185B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#292837
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33185b;
/* rgb */ color: rgb(51, 24, 91);
/* oklch */ color: oklch(28.9% 0.113 297.2);
Tailwind
colors: {
  custom: {
    50: '#6f578a',
    500: '#33185b',
    950: '#000000',
  },
}
SCSS
$custom: #33185b;
$custom-light: #6f578a;
$custom-dark: #000000;
JSON
{
  "hex": "#33185b",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 264.179,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28935,
    "c": 0.11334,
    "h": 297.2
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#33185B
secondary
#70923D
accent
#E146A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33185B

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

Preview Lab → · Contrast checker → · Palette generator →

#33185B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva