#0A032B#0A032B

#0A032B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.078 H 282.4°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#0A032B
RGBrgb(10, 3, 43)
HSLhsl(251, 87%, 9%)
HSVhsv(251, 93%, 17%)
CMYKcmyk(76.7%, 93%, 0%, 83.1%)
CIE-LABlab(2.75, 12.48, -23.07)
CIE-LCHlch(2.75, 26.22, 298.42°)
OKLaboklab(15.37% 0.0168 -0.0762)
OKLCHoklch(15.37% 0.078 282.4)
XYZxyz(0.5936, 0.3040, 2.3124)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A032B #242B03
analogous
#03102B #0A032B #1E032B
triadic
#0A032B #2B0A03 #032B0A
tetradic
#0A032B #2B0310 #242B03 #032B1E
square
#0A032B #2B0310 #242B03 #032B1E
split-complementary
#0A032B #2B1E03 #102B03
monochromatic
#07021D #07021D #0A032B #170764 #250B9D

Accessibility & contrast

On white

19.80
#0A032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A032B
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A032B#FFFFFF#000000##FFFFFF
##0A032B1.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#00092A
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0a032b;
/* rgb */ color: rgb(10, 3, 43);
/* oklch */ color: oklch(15.4% 0.078 282.4);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0a032b',
    950: '#000000',
  },
}
SCSS
$custom: #0a032b;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0a032b",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 250.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15374,
    "c": 0.07801,
    "h": 282.4
  },
  "luminance": 0.00304
}

Semantic roles & 50–950 ramp

primary
#0A032B
secondary
#606F1B
accent
#FD2BD8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A032B

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

Preview Lab → · Contrast checker → · Palette generator →

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