#150647#150647

#150647 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.110 H 282.1°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#150647
RGBrgb(21, 6, 71)
HSLhsl(254, 84%, 15%)
HSVhsv(254, 92%, 28%)
CMYKcmyk(70.4%, 91.5%, 0%, 72.2%)
CIE-LABlab(6.72, 27.78, -37.03)
CIE-LCHlch(6.72, 46.29, 306.88°)
OKLaboklab(20.81% 0.023 -0.1072)
OKLCHoklch(20.81% 0.11 282.1)
XYZxyz(1.5114, 0.7445, 6.0241)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150647 #384706
analogous
#061847 #150647 #350647
triadic
#150647 #471506 #064715
tetradic
#150647 #470618 #384706 #064735
square
#150647 #470618 #384706 #064735
split-complementary
#150647 #473506 #184706
monochromatic
#08021C #08021C #150647 #260B7F #3610B8

Accessibility & contrast

On white

18.28
#150647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#150647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150647
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150647#FFFFFF#000000##FFFFFF
##1506471.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #150647;
/* rgb */ color: rgb(21, 6, 71);
/* oklch */ color: oklch(20.8% 0.110 282.1);
Tailwind
colors: {
  custom: {
    50: '#5b487b',
    500: '#150647',
    950: '#000000',
  },
}
SCSS
$custom: #150647;
$custom-light: #5b487b;
$custom-dark: #000000;
JSON
{
  "hex": "#150647",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 253.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20809,
    "c": 0.10963,
    "h": 282.1
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#150647
secondary
#6F8623
accent
#FB2DCB
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150647

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

Preview Lab → · Contrast checker → · Palette generator →

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