#33137F#33137F

#33137F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.163 H 286.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#33137F
RGBrgb(51, 19, 127)
HSLhsl(258, 74%, 29%)
HSVhsv(258, 85%, 50%)
CMYKcmyk(59.8%, 85%, 0%, 50.2%)
CIE-LABlab(18.81, 42.52, -54.26)
CIE-LCHlch(18.81, 68.94, 308.08°)
OKLaboklab(31.96% 0.0455 -0.1563)
OKLCHoklch(31.96% 0.163 286.2)
XYZxyz(5.4277, 2.7015, 20.3100)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33137F #5F7F13
analogous
#13297F #33137F #69137F
triadic
#33137F #7F3313 #137F33
tetradic
#33137F #7F1329 #5F7F13 #137F69
square
#33137F #7F1329 #5F7F13 #137F69
split-complementary
#33137F #7F6913 #297F13
monochromatic
#0B041B #1E0B4A #33137F #481BB4 #622DE0

Accessibility & contrast

On white

13.63
#33137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#33137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33137F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33137F#FFFFFF#000000##FFFFFF
##33137F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#0A344A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #33137f;
/* rgb */ color: rgb(51, 19, 127);
/* oklch */ color: oklch(32.0% 0.163 286.2);
Tailwind
colors: {
  custom: {
    50: '#7557a5',
    500: '#33137f',
    950: '#000000',
  },
}
SCSS
$custom: #33137f;
$custom-light: #7557a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33137f",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 257.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31955,
    "c": 0.1628,
    "h": 286.2
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#33137F
secondary
#90B439
accent
#F137BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33137F

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

Preview Lab → · Contrast checker → · Palette generator →

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