#150336#150336

#150336 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.092 H 291.4°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#150336
RGBrgb(21, 3, 54)
HSLhsl(261, 89%, 11%)
HSVhsv(261, 94%, 21%)
CMYKcmyk(61.1%, 94.4%, 0%, 78.8%)
CIE-LABlab(4.43, 21.76, -28.55)
CIE-LCHlch(4.43, 35.89, 307.31°)
OKLaboklab(18.15% 0.0335 -0.0856)
OKLCHoklch(18.15% 0.092 291.4)
XYZxyz(1.0075, 0.4909, 3.5310)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150336 #243603
analogous
#030A36 #150336 #2E0336
triadic
#150336 #361503 #033615
tetradic
#150336 #36030A #243603 #03362E
square
#150336 #36030A #243603 #03362E
split-complementary
#150336 #362E03 #0A3603
monochromatic
#0B021D #0B021D #150336 #2C0670 #4209AA

Accessibility & contrast

On white

19.12
#150336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#150336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150336
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150336#FFFFFF#000000##FFFFFF
##1503361.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#09111C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #150336;
/* rgb */ color: rgb(21, 3, 54);
/* oklch */ color: oklch(18.1% 0.092 291.4);
Tailwind
colors: {
  custom: {
    50: '#56476d',
    500: '#150336',
    950: '#000000',
  },
}
SCSS
$custom: #150336;
$custom-light: #56476d;
$custom-dark: #000000;
JSON
{
  "hex": "#150336",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 261.176,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18149,
    "c": 0.09194,
    "h": 291.4
  },
  "luminance": 0.00491
}

Semantic roles & 50–950 ramp

primary
#150336
secondary
#58791C
accent
#FF29B3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150336

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

Preview Lab → · Contrast checker → · Palette generator →

#150336 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva