#150746#150746

#150746 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.107 H 282.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#150746
RGBrgb(21, 7, 70)
HSLhsl(253, 82%, 15%)
HSVhsv(253, 90%, 27%)
CMYKcmyk(70%, 90%, 0%, 72.5%)
CIE-LABlab(6.81, 26.85, -36.19)
CIE-LCHlch(6.81, 45.06, 306.57°)
OKLaboklab(20.83% 0.0227 -0.1047)
OKLCHoklch(20.83% 0.107 282.2)
XYZxyz(1.4904, 0.7535, 5.8601)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150746 #384607
analogous
#071946 #150746 #340746
triadic
#150746 #461507 #074615
tetradic
#150746 #460719 #384607 #074634
square
#150746 #460719 #384607 #074634
split-complementary
#150746 #463407 #194607
monochromatic
#08031C #08031C #150746 #260D7E #3612B5

Accessibility & contrast

On white

18.25
#150746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150746
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150746#FFFFFF#000000##FFFFFF
##1507461.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150746;
/* rgb */ color: rgb(21, 7, 70);
/* oklch */ color: oklch(20.8% 0.107 282.2);
Tailwind
colors: {
  custom: {
    50: '#5b497a',
    500: '#150746',
    950: '#000000',
  },
}
SCSS
$custom: #150746;
$custom-light: #5b497a;
$custom-dark: #000000;
JSON
{
  "hex": "#150746",
  "rgb": {
    "r": 21,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 253.333,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20833,
    "c": 0.10714,
    "h": 282.2
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#150746
secondary
#6F8524
accent
#F830CC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #150746

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

Preview Lab → · Contrast checker → · Palette generator →

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