#150C3F#150C3F

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

Color values

HEX#150C3F
RGBrgb(21, 12, 63)
HSLhsl(251, 68%, 15%)
HSVhsv(251, 81%, 25%)
CMYKcmyk(66.7%, 81%, 0%, 75.3%)
CIE-LABlab(7.06, 21.34, -30.81)
CIE-LCHlch(7.06, 37.48, 304.70°)
OKLaboklab(20.78% 0.0207 -0.0889)
OKLCHoklch(20.78% 0.091 283.1)
XYZxyz(1.3377, 0.7812, 4.7820)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C3F #363F0C
analogous
#0C1D3F #150C3F #2F0C3F
triadic
#150C3F #3F150C #0C3F15
tetradic
#150C3F #3F0C1D #363F0C #0C3F2F
square
#150C3F #3F0C1D #363F0C #0C3F2F
split-complementary
#150C3F #3F2F0C #1D3F0C
monochromatic
#09051A #09051A #150C3F #261672 #3720A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##150C3F#FFFFFF#000000##FFFFFF
##150C3F1.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)
#001741
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#011A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #150c3f;
/* rgb */ color: rgb(21, 12, 63);
/* oklch */ color: oklch(20.8% 0.091 283.1);
Tailwind
colors: {
  custom: {
    50: '#594b75',
    500: '#150c3f',
    950: '#000000',
  },
}
SCSS
$custom: #150c3f;
$custom-light: #594b75;
$custom-dark: #000000;
JSON
{
  "hex": "#150c3f",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 250.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20778,
    "c": 0.09132,
    "h": 283.1
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#150C3F
secondary
#6D7B2C
accent
#EB3DCC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #150C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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