#33186E#33186E

#33186E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.138 H 290.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#33186E
RGBrgb(51, 24, 110)
HSLhsl(259, 64%, 26%)
HSVhsv(259, 78%, 43%)
CMYKcmyk(53.6%, 78.2%, 0%, 56.9%)
CIE-LABlab(17.84, 35.09, -44.93)
CIE-LCHlch(17.84, 57.01, 307.99°)
OKLaboklab(30.74% 0.0475 -0.1291)
OKLCHoklch(30.74% 0.138 290.2)
XYZxyz(4.5055, 2.4827, 14.9906)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186E #536E18
analogous
#18286E #33186E #5E186E
triadic
#33186E #6E3318 #186E33
tetradic
#33186E #6E1828 #536E18 #186E5E
square
#33186E #6E1828 #536E18 #186E5E
split-complementary
#33186E #6E5E18 #286E18
monochromatic
#0C0519 #1C0D3C #33186E #4A23A0 #622FD2

Accessibility & contrast

On white

14.03
#33186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#33186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33186E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186E#FFFFFF#000000##FFFFFF
##33186E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#1E2F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33186e;
/* rgb */ color: rgb(51, 24, 110);
/* oklch */ color: oklch(30.7% 0.138 290.2);
Tailwind
colors: {
  custom: {
    50: '#725898',
    500: '#33186e',
    950: '#000000',
  },
}
SCSS
$custom: #33186e;
$custom-light: #725898;
$custom-dark: #000000;
JSON
{
  "hex": "#33186e",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 258.837,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30742,
    "c": 0.13752,
    "h": 290.2
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#33186E
secondary
#84A43E
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33186E

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

Preview Lab → · Contrast checker → · Palette generator →

#33186E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva