#0A032D#0A032D

#0A032D is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.081 H 281.4°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0A032D
RGBrgb(10, 3, 45)
HSLhsl(250, 88%, 9%)
HSVhsv(250, 93%, 18%)
CMYKcmyk(77.8%, 93.3%, 0%, 82.4%)
CIE-LABlab(2.88, 13.43, -24.37)
CIE-LCHlch(2.88, 27.82, 298.87°)
OKLaboklab(15.64% 0.016 -0.0793)
OKLCHoklch(15.64% 0.081 281.4)
XYZxyz(0.6312, 0.3191, 2.5104)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A032D #262D03
analogous
#03112D #0A032D #1F032D
triadic
#0A032D #2D0A03 #032D0A
tetradic
#0A032D #2D0311 #262D03 #032D1F
square
#0A032D #2D0311 #262D03 #032D1F
split-complementary
#0A032D #2D1F03 #112D03
monochromatic
#06021D #06021D #0A032D #170766 #240BA0

Accessibility & contrast

On white

19.74
#0A032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A032D
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A032D#FFFFFF#000000##FFFFFF
##0A032D1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#00092C
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a032d;
/* rgb */ color: rgb(10, 3, 45);
/* oklch */ color: oklch(15.6% 0.081 281.4);
Tailwind
colors: {
  custom: {
    50: '#4c4866',
    500: '#0a032d',
    950: '#000000',
  },
}
SCSS
$custom: #0a032d;
$custom-light: #4c4866;
$custom-dark: #000000;
JSON
{
  "hex": "#0a032d",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 250,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15643,
    "c": 0.08089,
    "h": 281.4
  },
  "luminance": 0.00319
}

Semantic roles & 50–950 ramp

primary
#0A032D
secondary
#62711B
accent
#FE2ADA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A032D

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

Preview Lab → · Contrast checker → · Palette generator →

#0A032D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva