#150334#150334

#150334 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.089 H 292.6°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#150334
RGBrgb(21, 3, 52)
HSLhsl(262, 89%, 11%)
HSVhsv(262, 94%, 20%)
CMYKcmyk(59.6%, 94.2%, 0%, 79.6%)
CIE-LABlab(4.27, 20.77, -27.34)
CIE-LCHlch(4.27, 34.34, 307.23°)
OKLaboklab(17.9% 0.0344 -0.0825)
OKLCHoklch(17.9% 0.089 292.6)
XYZxyz(0.9615, 0.4725, 3.2887)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150334 #223403
analogous
#030934 #150334 #2D0334
triadic
#150334 #341503 #033415
tetradic
#150334 #340309 #223403 #03342D
square
#150334 #340309 #223403 #03342D
split-complementary
#150334 #342D03 #093403
monochromatic
#0C021D #0C021D #150334 #2C066E #440AA8

Accessibility & contrast

On white

19.19
#150334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150334
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150334#FFFFFF#000000##FFFFFF
##1503341.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001035
Deuteranopia (green-blind)
#000E33
Tritanopia (blue-blind)
#0B101B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #150334;
/* rgb */ color: rgb(21, 3, 52);
/* oklch */ color: oklch(17.9% 0.089 292.6);
Tailwind
colors: {
  custom: {
    50: '#56476c',
    500: '#150334',
    950: '#000000',
  },
}
SCSS
$custom: #150334;
$custom-light: #56476c;
$custom-dark: #000000;
JSON
{
  "hex": "#150334",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 262.041,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17903,
    "c": 0.08941,
    "h": 292.6
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#150334
secondary
#56771C
accent
#FF29B0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #150334

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

Preview Lab → · Contrast checker → · Palette generator →

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