#150A43#150A43

#150A43 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.100 H 282.4°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#150A43
RGBrgb(21, 10, 67)
HSLhsl(252, 74%, 15%)
HSVhsv(252, 85%, 26%)
CMYKcmyk(68.7%, 85.1%, 0%, 73.7%)
CIE-LABlab(7.06, 24.05, -33.65)
CIE-LCHlch(7.06, 41.36, 305.55°)
OKLaboklab(20.92% 0.0214 -0.0972)
OKLCHoklch(20.92% 0.1 282.4)
XYZxyz(1.4306, 0.7817, 5.3846)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150A43 #38430A
analogous
#0A1B43 #150A43 #310A43
triadic
#150A43 #43150A #0A4315
tetradic
#150A43 #430A1B #38430A #0A4331
square
#150A43 #430A1B #38430A #0A4331
split-complementary
#150A43 #43310A #1B430A
monochromatic
#08041B #08041B #150A43 #261278 #361AAE

Accessibility & contrast

On white

18.16
#150A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#150A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150A43
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150A43#FFFFFF#000000##FFFFFF
##150A431.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150a43;
/* rgb */ color: rgb(21, 10, 67);
/* oklch */ color: oklch(20.9% 0.100 282.4);
Tailwind
colors: {
  custom: {
    50: '#5a4a78',
    500: '#150a43',
    950: '#000000',
  },
}
SCSS
$custom: #150a43;
$custom-light: #5a4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#150a43",
  "rgb": {
    "r": 21,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 251.579,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20919,
    "c": 0.09955,
    "h": 282.4
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#150A43
secondary
#6F8029
accent
#F137CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #150A43

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

Preview Lab → · Contrast checker → · Palette generator →

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