#150233#150233

#150233 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.6% C 0.090 H 293.8°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#150233
RGBrgb(21, 2, 51)
HSLhsl(263, 92%, 10%)
HSVhsv(263, 96%, 20%)
CMYKcmyk(58.8%, 96.1%, 0%, 80%)
CIE-LABlab(3.99, 20.71, -27.04)
CIE-LCHlch(3.99, 34.06, 307.44°)
OKLaboklab(17.57% 0.0364 -0.0824)
OKLCHoklch(17.57% 0.09 293.8)
XYZxyz(0.9283, 0.4418, 3.1677)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150233 #203302
analogous
#020833 #150233 #2D0233
triadic
#150233 #331502 #023315
tetradic
#150233 #330208 #203302 #02332D
square
#150233 #330208 #203302 #02332D
split-complementary
#150233 #332D02 #083302
monochromatic
#0C011D #0C011D #150233 #2D046E #4507A9

Accessibility & contrast

On white

19.29
#150233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150233
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150233#FFFFFF#000000##FFFFFF
##1502331.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F34
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#0B0F1A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #150233;
/* rgb */ color: rgb(21, 2, 51);
/* oklch */ color: oklch(17.6% 0.090 293.8);
Tailwind
colors: {
  custom: {
    50: '#55466b',
    500: '#150233',
    950: '#000000',
  },
}
SCSS
$custom: #150233;
$custom-light: #55466b;
$custom-dark: #000000;
JSON
{
  "hex": "#150233",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 263.265,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17571,
    "c": 0.09008,
    "h": 293.8
  },
  "luminance": 0.00442
}

Semantic roles & 50–950 ramp

primary
#150233
secondary
#53771A
accent
#FF29AC
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030007
muted
#78777A

Preview Lab

Preview with #150233

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

Preview Lab → · Contrast checker → · Palette generator →

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