#150346#150346

#150346 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.112 H 283.3°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#150346
RGBrgb(21, 3, 70)
HSLhsl(256, 92%, 14%)
HSVhsv(256, 96%, 27%)
CMYKcmyk(70%, 95.7%, 0%, 72.5%)
CIE-LABlab(6.02, 29.00, -37.48)
CIE-LCHlch(6.02, 47.39, 307.73°)
OKLaboklab(20.21% 0.0258 -0.109)
OKLCHoklch(20.21% 0.112 283.3)
XYZxyz(1.4470, 0.6666, 5.8456)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150346 #344603
analogous
#031346 #150346 #370346
triadic
#150346 #461503 #034615
tetradic
#150346 #460313 #344603 #034637
square
#150346 #460313 #344603 #034637
split-complementary
#150346 #463703 #134603
monochromatic
#09011D #09011D #150346 #270681 #3808BB

Accessibility & contrast

On white

18.53
#150346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#150346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150346
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150346#FFFFFF#000000##FFFFFF
##1503461.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#001145
Tritanopia (blue-blind)
#001826
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150346;
/* rgb */ color: rgb(21, 3, 70);
/* oklch */ color: oklch(20.2% 0.112 283.3);
Tailwind
colors: {
  custom: {
    50: '#5b477a',
    500: '#150346',
    950: '#000000',
  },
}
SCSS
$custom: #150346;
$custom-light: #5b477a;
$custom-dark: #000000;
JSON
{
  "hex": "#150346",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 256.119,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20211,
    "c": 0.11201,
    "h": 283.3
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#150346
secondary
#6B871D
accent
#FF29C5
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #150346

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

Preview Lab → · Contrast checker → · Palette generator →

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