#150239#150239

#150239 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.097 H 290.0°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#150239
RGBrgb(21, 2, 57)
HSLhsl(261, 93%, 12%)
HSVhsv(261, 96%, 22%)
CMYKcmyk(63.2%, 96.5%, 0%, 77.6%)
CIE-LABlab(4.50, 23.67, -30.64)
CIE-LCHlch(4.50, 38.72, 307.69°)
OKLaboklab(18.33% 0.0333 -0.0915)
OKLCHoklch(18.33% 0.097 290)
XYZxyz(1.0693, 0.4982, 3.9099)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150239 #263902
analogous
#020B39 #150239 #310239
triadic
#150239 #391502 #023915
tetradic
#150239 #39020B #263902 #023931
square
#150239 #39020B #263902 #023931
split-complementary
#150239 #393102 #0B3902
monochromatic
#0B011E #0B011E #150239 #2B0474 #4106AF

Accessibility & contrast

On white

19.10
#150239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#150239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150239
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150239#FFFFFF#000000##FFFFFF
##1502391.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#07121E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #150239;
/* rgb */ color: rgb(21, 2, 57);
/* oklch */ color: oklch(18.3% 0.097 290.0);
Tailwind
colors: {
  custom: {
    50: '#574670',
    500: '#150239',
    950: '#000000',
  },
}
SCSS
$custom: #150239;
$custom-light: #574670;
$custom-dark: #000000;
JSON
{
  "hex": "#150239",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 260.727,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1833,
    "c": 0.09742,
    "h": 290
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#150239
secondary
#5B7D1A
accent
#FF29B5
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150239

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

Preview Lab → · Contrast checker → · Palette generator →

#150239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva