#150339#150339

#150339 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.096 H 289.6°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#150339
RGBrgb(21, 3, 57)
HSLhsl(260, 90%, 12%)
HSVhsv(260, 95%, 22%)
CMYKcmyk(63.2%, 94.7%, 0%, 77.6%)
CIE-LABlab(4.70, 23.20, -30.32)
CIE-LCHlch(4.70, 38.18, 307.43°)
OKLaboklab(18.52% 0.0321 -0.0902)
OKLCHoklch(18.52% 0.096 289.6)
XYZxyz(1.0801, 0.5199, 3.9135)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150339 #273903
analogous
#030C39 #150339 #300339
triadic
#150339 #391503 #033915
tetradic
#150339 #39030C #273903 #033930
square
#150339 #39030C #273903 #033930
split-complementary
#150339 #393003 #0C3903
monochromatic
#0B021D #0B021D #150339 #2A0673 #4009AD

Accessibility & contrast

On white

19.02
#150339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150339
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150339#FFFFFF#000000##FFFFFF
##1503391.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150339;
/* rgb */ color: rgb(21, 3, 57);
/* oklch */ color: oklch(18.5% 0.096 289.6);
Tailwind
colors: {
  custom: {
    50: '#574770',
    500: '#150339',
    950: '#000000',
  },
}
SCSS
$custom: #150339;
$custom-light: #574770;
$custom-dark: #000000;
JSON
{
  "hex": "#150339",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 260,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18523,
    "c": 0.09574,
    "h": 289.6
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#150339
secondary
#5C7C1C
accent
#FF29B8
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #150339

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

Preview Lab → · Contrast checker → · Palette generator →

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