#0A032C#0A032C

#0A032C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.079 H 281.9°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#0A032C
RGBrgb(10, 3, 44)
HSLhsl(250, 87%, 9%)
HSVhsv(250, 93%, 17%)
CMYKcmyk(77.3%, 93.2%, 0%, 82.7%)
CIE-LABlab(2.81, 12.95, -23.72)
CIE-LCHlch(2.81, 27.02, 298.63°)
OKLaboklab(15.51% 0.0164 -0.0777)
OKLCHoklch(15.51% 0.079 281.9)
XYZxyz(0.6122, 0.3115, 2.4102)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A032C #252C03
analogous
#03112C #0A032C #1F032C
triadic
#0A032C #2C0A03 #032C0A
tetradic
#0A032C #2C0311 #252C03 #032C1F
square
#0A032C #2C0311 #252C03 #032C1F
split-complementary
#0A032C #2C1F03 #112C03
monochromatic
#07021D #07021D #0A032C #170765 #240B9F

Accessibility & contrast

On white

19.77
#0A032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A032C
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A032C#FFFFFF#000000##FFFFFF
##0A032C1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#00092B
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0a032c;
/* rgb */ color: rgb(10, 3, 44);
/* oklch */ color: oklch(15.5% 0.079 281.9);
Tailwind
colors: {
  custom: {
    50: '#4c4865',
    500: '#0a032c',
    950: '#000000',
  },
}
SCSS
$custom: #0a032c;
$custom-light: #4c4865;
$custom-dark: #000000;
JSON
{
  "hex": "#0a032c",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 250.244,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15508,
    "c": 0.07945,
    "h": 281.9
  },
  "luminance": 0.00312
}

Semantic roles & 50–950 ramp

primary
#0A032C
secondary
#61701B
accent
#FD2AD9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A032C

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

Preview Lab → · Contrast checker → · Palette generator →

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