#150F30#150F30

#150F30 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.063 H 287.6°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#150F30
RGBrgb(21, 15, 48)
HSLhsl(251, 52%, 12%)
HSVhsv(251, 69%, 19%)
CMYKcmyk(56.2%, 68.7%, 0%, 81.2%)
CIE-LABlab(6.45, 13.27, -20.88)
CIE-LCHlch(6.45, 24.74, 302.43°)
OKLaboklab(19.83% 0.019 -0.0601)
OKLCHoklch(19.83% 0.063 287.6)
XYZxyz(1.0134, 0.7144, 2.8802)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F30 #2A300F
analogous
#0F1A30 #150F30 #260F30
triadic
#150F30 #30150F #0F3015
tetradic
#150F30 #300F1A #2A300F #0F3026
square
#150F30 #300F1A #2A300F #0F3026
split-complementary
#150F30 #30260F #1A300F
monochromatic
#0A0717 #0A0717 #150F30 #291E5F #3E2C8D

Accessibility & contrast

On white

18.38
#150F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#150F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F30
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F30#FFFFFF#000000##FFFFFF
##150F301.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#00132F
Tritanopia (blue-blind)
#0C161D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #150f30;
/* rgb */ color: rgb(21, 15, 48);
/* oklch */ color: oklch(19.8% 0.063 287.6);
Tailwind
colors: {
  custom: {
    50: '#554d68',
    500: '#150f30',
    950: '#000000',
  },
}
SCSS
$custom: #150f30;
$custom-light: #554d68;
$custom-dark: #000000;
JSON
{
  "hex": "#150f30",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 250.909,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1983,
    "c": 0.06307,
    "h": 287.6
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#150F30
secondary
#5F6A31
accent
#DC4CC2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #150F30

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

Preview Lab → · Contrast checker → · Palette generator →

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