#33185C#33185C

#33185C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.115 H 296.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#33185C
RGBrgb(51, 24, 92)
HSLhsl(264, 59%, 23%)
HSVhsv(264, 74%, 36%)
CMYKcmyk(44.6%, 73.9%, 0%, 63.9%)
CIE-LABlab(16.15, 29.68, -35.82)
CIE-LCHlch(16.15, 46.52, 309.65°)
OKLaboklab(29.03% 0.0517 -0.1023)
OKLCHoklch(29.03% 0.115 296.8)
XYZxyz(3.6231, 2.1297, 10.3433)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33185C #415C18
analogous
#181F5C #33185C #55185C
triadic
#33185C #5C3318 #185C33
tetradic
#33185C #5C181F #415C18 #185C55
square
#33185C #5C181F #415C18 #185C55
split-complementary
#33185C #5C5518 #1F5C18
monochromatic
#0D0618 #180B2B #33185C #4E258D #6931BD

Accessibility & contrast

On white

14.73
#33185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#33185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33185C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33185C#FFFFFF#000000##FFFFFF
##33185C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#292938
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33185c;
/* rgb */ color: rgb(51, 24, 92);
/* oklch */ color: oklch(29.0% 0.115 296.8);
Tailwind
colors: {
  custom: {
    50: '#6f578b',
    500: '#33185c',
    950: '#000000',
  },
}
SCSS
$custom: #33185c;
$custom-light: #6f578b;
$custom-dark: #000000;
JSON
{
  "hex": "#33185c",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 263.824,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29025,
    "c": 0.11463,
    "h": 296.8
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#33185C
secondary
#71933D
accent
#E246A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33185C

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

Preview Lab → · Contrast checker → · Palette generator →

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