#33185D#33185D

#33185D is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.116 H 296.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#33185D
RGBrgb(51, 24, 93)
HSLhsl(263, 59%, 23%)
HSVhsv(263, 74%, 36%)
CMYKcmyk(45.2%, 74.2%, 0%, 63.5%)
CIE-LABlab(16.24, 29.98, -36.34)
CIE-LCHlch(16.24, 47.11, 309.52°)
OKLaboklab(29.12% 0.0515 -0.1039)
OKLCHoklch(29.12% 0.116 296.4)
XYZxyz(3.6671, 2.1473, 10.5751)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33185D #425D18
analogous
#18205D #33185D #55185D
triadic
#33185D #5D3318 #185D33
tetradic
#33185D #5D1820 #425D18 #185D55
square
#33185D #5D1820 #425D18 #185D55
split-complementary
#33185D #5D5518 #205D18
monochromatic
#0D0618 #180B2C #33185D #4E258E #6831BE

Accessibility & contrast

On white

14.69
#33185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33185D
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33185D#FFFFFF#000000##FFFFFF
##33185D1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#282938
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #33185d;
/* rgb */ color: rgb(51, 24, 93);
/* oklch */ color: oklch(29.1% 0.116 296.4);
Tailwind
colors: {
  custom: {
    50: '#6f578b',
    500: '#33185d',
    950: '#000000',
  },
}
SCSS
$custom: #33185d;
$custom-light: #6f578b;
$custom-dark: #000000;
JSON
{
  "hex": "#33185d",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 263.478,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29116,
    "c": 0.11593,
    "h": 296.4
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33185D

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

Preview Lab → · Contrast checker → · Palette generator →

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