#33186D#33186D

#33186D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.136 H 290.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#33186D
RGBrgb(51, 24, 109)
HSLhsl(259, 64%, 26%)
HSVhsv(259, 78%, 43%)
CMYKcmyk(53.2%, 78%, 0%, 57.3%)
CIE-LABlab(17.74, 34.79, -44.44)
CIE-LCHlch(17.74, 56.44, 308.06°)
OKLaboklab(30.64% 0.0478 -0.1276)
OKLCHoklch(30.64% 0.136 290.5)
XYZxyz(4.4514, 2.4610, 14.7055)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186D #526D18
analogous
#18276D #33186D #5D186D
triadic
#33186D #6D3318 #186D33
tetradic
#33186D #6D1827 #526D18 #186D5D
square
#33186D #6D1827 #526D18 #186D5D
split-complementary
#33186D #6D5D18 #276D18
monochromatic
#0C0619 #1C0D3B #33186D #4A239F #622ED1

Accessibility & contrast

On white

14.07
#33186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#33186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33186D
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186D#FFFFFF#000000##FFFFFF
##33186D1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#1F2F41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33186d;
/* rgb */ color: rgb(51, 24, 109);
/* oklch */ color: oklch(30.6% 0.136 290.5);
Tailwind
colors: {
  custom: {
    50: '#725898',
    500: '#33186d',
    950: '#000000',
  },
}
SCSS
$custom: #33186d;
$custom-light: #725898;
$custom-dark: #000000;
JSON
{
  "hex": "#33186d",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 259.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30642,
    "c": 0.13627,
    "h": 290.5
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#33186D
secondary
#83A33E
accent
#E741B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33186D

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

Preview Lab → · Contrast checker → · Palette generator →

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