#33186F#33186F

#33186F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.139 H 289.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#33186F
RGBrgb(51, 24, 111)
HSLhsl(259, 64%, 26%)
HSVhsv(259, 78%, 44%)
CMYKcmyk(54.1%, 78.4%, 0%, 56.5%)
CIE-LABlab(17.94, 35.40, -45.41)
CIE-LCHlch(17.94, 57.58, 307.93°)
OKLaboklab(30.84% 0.0472 -0.1305)
OKLCHoklch(30.84% 0.139 289.9)
XYZxyz(4.5603, 2.5046, 15.2790)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186F #546F18
analogous
#18296F #33186F #5F186F
triadic
#33186F #6F3318 #186F33
tetradic
#33186F #6F1829 #546F18 #186F5F
square
#33186F #6F1829 #546F18 #186F5F
split-complementary
#33186F #6F5F18 #296F18
monochromatic
#0C0519 #1C0D3D #33186F #4A23A1 #622FD2

Accessibility & contrast

On white

13.99
#33186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33186F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186F#FFFFFF#000000##FFFFFF
##33186F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#1D3042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #33186f;
/* rgb */ color: rgb(51, 24, 111);
/* oklch */ color: oklch(30.8% 0.139 289.9);
Tailwind
colors: {
  custom: {
    50: '#725899',
    500: '#33186f',
    950: '#000000',
  },
}
SCSS
$custom: #33186f;
$custom-light: #725899;
$custom-dark: #000000;
JSON
{
  "hex": "#33186f",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 258.621,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30842,
    "c": 0.13877,
    "h": 289.9
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#33186F
secondary
#85A53E
accent
#E740B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33186F

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

Preview Lab → · Contrast checker → · Palette generator →

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