#150A33#150A33

#150A33 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.076 H 289.5°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#150A33
RGBrgb(21, 10, 51)
HSLhsl(256, 67%, 12%)
HSVhsv(256, 80%, 20%)
CMYKcmyk(58.8%, 80.4%, 0%, 80%)
CIE-LABlab(5.56, 17.18, -24.53)
CIE-LCHlch(5.56, 29.95, 305.02°)
OKLaboklab(19.13% 0.0255 -0.0718)
OKLCHoklch(19.13% 0.076 289.5)
XYZxyz(1.0152, 0.6155, 3.1966)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A33 #28330A
analogous
#0A1433 #150A33 #2A0A33
triadic
#150A33 #33150A #0A3315
tetradic
#150A33 #330A14 #28330A #0A332A
square
#150A33 #330A14 #28330A #0A332A
split-complementary
#150A33 #332A0A #14330A
monochromatic
#0B051A #0B051A #150A33 #2A1466 #3F1E99

Accessibility & contrast

On white

18.70
#150A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#150A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A33
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A33#FFFFFF#000000##FFFFFF
##150A331.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#0B141D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #150a33;
/* rgb */ color: rgb(21, 10, 51);
/* oklch */ color: oklch(19.1% 0.076 289.5);
Tailwind
colors: {
  custom: {
    50: '#554a6b',
    500: '#150a33',
    950: '#000000',
  },
}
SCSS
$custom: #150a33;
$custom-light: #554a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#150a33",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 256.098,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19129,
    "c": 0.07621,
    "h": 289.5
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

primary
#150A33
secondary
#5D7028
accent
#EA3EBC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150A33

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

Preview Lab → · Contrast checker → · Palette generator →

#150A33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva