#150C41#150C41

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

Color values

HEX#150C41
RGBrgb(21, 12, 65)
HSLhsl(250, 69%, 15%)
HSVhsv(250, 82%, 25%)
CMYKcmyk(67.7%, 81.5%, 0%, 74.5%)
CIE-LABlab(7.26, 22.14, -31.90)
CIE-LCHlch(7.26, 38.83, 304.76°)
OKLaboklab(21% 0.0202 -0.0921)
OKLCHoklch(21% 0.094 282.4)
XYZxyz(1.3946, 0.8039, 5.0817)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C41 #38410C
analogous
#0C1D41 #150C41 #300C41
triadic
#150C41 #41150C #0C4115
tetradic
#150C41 #410C1D #38410C #0C4130
square
#150C41 #410C1D #38410C #0C4130
split-complementary
#150C41 #41300C #1D410C
monochromatic
#08051A #08051A #150C41 #261675 #361FA8

Accessibility & contrast

On white

18.09
#150C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150C41
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C41#FFFFFF#000000##FFFFFF
##150C411.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150c41;
/* rgb */ color: rgb(21, 12, 65);
/* oklch */ color: oklch(21.0% 0.094 282.4);
Tailwind
colors: {
  custom: {
    50: '#594c76',
    500: '#150c41',
    950: '#000000',
  },
}
SCSS
$custom: #150c41;
$custom-light: #594c76;
$custom-dark: #000000;
JSON
{
  "hex": "#150c41",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 250.189,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21003,
    "c": 0.09424,
    "h": 282.4
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#150C41
secondary
#6F7D2C
accent
#EC3CCE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150C41

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

Preview Lab → · Contrast checker → · Palette generator →

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