#150641#150641

#150641 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.102 H 284.5°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#150641
RGBrgb(21, 6, 65)
HSLhsl(255, 83%, 14%)
HSVhsv(255, 91%, 25%)
CMYKcmyk(67.7%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.06, 25.33, -33.86)
CIE-LCHlch(6.06, 42.29, 306.80°)
OKLaboklab(20.05% 0.0254 -0.0985)
OKLCHoklch(20.05% 0.102 284.5)
XYZxyz(1.3282, 0.6712, 5.0596)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150641 #324106
analogous
#061541 #150641 #330641
triadic
#150641 #411506 #064115
tetradic
#150641 #410615 #324106 #064133
square
#150641 #410615 #324106 #064133
split-complementary
#150641 #413306 #154106
monochromatic
#09031C #09031C #150641 #270B79 #3910B1

Accessibility & contrast

On white

18.52
#150641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150641
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150641#FFFFFF#000000##FFFFFF
##1506411.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #150641;
/* rgb */ color: rgb(21, 6, 65);
/* oklch */ color: oklch(20.1% 0.102 284.5);
Tailwind
colors: {
  custom: {
    50: '#594876',
    500: '#150641',
    950: '#000000',
  },
}
SCSS
$custom: #150641;
$custom-light: #594876;
$custom-dark: #000000;
JSON
{
  "hex": "#150641",
  "rgb": {
    "r": 21,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 255.254,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20052,
    "c": 0.10174,
    "h": 284.5
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#150641
secondary
#698122
accent
#F92EC6
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #150641

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

Preview Lab → · Contrast checker → · Palette generator →

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