#150C30#150C30

#150C30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.068 H 289.9°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#150C30
RGBrgb(21, 12, 48)
HSLhsl(255, 60%, 12%)
HSVhsv(255, 75%, 19%)
CMYKcmyk(56.2%, 75%, 0%, 81.2%)
CIE-LABlab(5.74, 14.89, -22.01)
CIE-LCHlch(5.74, 26.58, 304.07°)
OKLaboklab(19.2% 0.0233 -0.0642)
OKLCHoklch(19.2% 0.068 289.9)
XYZxyz(0.9741, 0.6357, 2.8671)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C30 #27300C
analogous
#0C1530 #150C30 #270C30
triadic
#150C30 #30150C #0C3015
tetradic
#150C30 #300C15 #27300C #0C3027
square
#150C30 #300C15 #27300C #0C3027
split-complementary
#150C30 #30270C #15300C
monochromatic
#0B0618 #0B0618 #150C30 #2A1861 #402492

Accessibility & contrast

On white

18.63
#150C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C30
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C30#FFFFFF#000000##FFFFFF
##150C301.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#0D141C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150c30;
/* rgb */ color: rgb(21, 12, 48);
/* oklch */ color: oklch(19.2% 0.068 289.9);
Tailwind
colors: {
  custom: {
    50: '#554b68',
    500: '#150c30',
    950: '#000000',
  },
}
SCSS
$custom: #150c30;
$custom-light: #554b68;
$custom-dark: #000000;
JSON
{
  "hex": "#150c30",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19205,
    "c": 0.06829,
    "h": 289.9
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#150C30
secondary
#5C6C2C
accent
#E345BC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150C30

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

Preview Lab → · Contrast checker → · Palette generator →

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