#33185A#33185A

#33185A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.112 H 297.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#33185A
RGBrgb(51, 24, 90)
HSLhsl(265, 58%, 22%)
HSVhsv(265, 73%, 35%)
CMYKcmyk(43.3%, 73.3%, 0%, 64.7%)
CIE-LABlab(15.98, 29.09, -34.76)
CIE-LCHlch(15.98, 45.33, 309.92°)
OKLaboklab(28.85% 0.052 -0.0992)
OKLCHoklch(28.85% 0.112 297.7)
XYZxyz(3.5369, 2.0952, 9.8889)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33185A #3F5A18
analogous
#181E5A #33185A #54185A
triadic
#33185A #5A3318 #185A33
tetradic
#33185A #5A181E #3F5A18 #185A54
square
#33185A #5A181E #3F5A18 #185A54
split-complementary
#33185A #5A5418 #1E5A18
monochromatic
#0E0618 #180B2A #33185A #4E258A #6A32BB

Accessibility & contrast

On white

14.80
#33185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33185A
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33185A#FFFFFF#000000##FFFFFF
##33185A1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#292836
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33185a;
/* rgb */ color: rgb(51, 24, 90);
/* oklch */ color: oklch(28.8% 0.112 297.7);
Tailwind
colors: {
  custom: {
    50: '#6f5789',
    500: '#33185a',
    950: '#000000',
  },
}
SCSS
$custom: #33185a;
$custom-light: #6f5789;
$custom-dark: #000000;
JSON
{
  "hex": "#33185a",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 264.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28846,
    "c": 0.11203,
    "h": 297.7
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#33185A
secondary
#6E913D
accent
#E147A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #33185A

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

Preview Lab → · Contrast checker → · Palette generator →

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