#0A032A#0A032A

#0A032A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.077 H 283.0°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#0A032A
RGBrgb(10, 3, 42)
HSLhsl(251, 87%, 9%)
HSVhsv(251, 93%, 16%)
CMYKcmyk(76.2%, 92.9%, 0%, 83.5%)
CIE-LABlab(2.68, 12.02, -22.40)
CIE-LCHlch(2.68, 25.42, 298.21°)
OKLaboklab(15.24% 0.0172 -0.0746)
OKLCHoklch(15.24% 0.077 283)
XYZxyz(0.5755, 0.2968, 2.2170)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A032A #232A03
analogous
#03102A #0A032A #1E032A
triadic
#0A032A #2A0A03 #032A0A
tetradic
#0A032A #2A0310 #232A03 #032A1E
square
#0A032A #2A0310 #232A03 #032A1E
split-complementary
#0A032A #2A1E03 #102A03
monochromatic
#07021D #07021D #0A032A #180763 #250B9C

Accessibility & contrast

On white

19.82
#0A032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A032A
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A032A#FFFFFF#000000##FFFFFF
##0A032A1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2B
Deuteranopia (green-blind)
#000829
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0a032a;
/* rgb */ color: rgb(10, 3, 42);
/* oklch */ color: oklch(15.2% 0.077 283.0);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0a032a',
    950: '#000000',
  },
}
SCSS
$custom: #0a032a;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0a032a",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 250.769,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1524,
    "c": 0.07656,
    "h": 283
  },
  "luminance": 0.00297
}

Semantic roles & 50–950 ramp

primary
#0A032A
secondary
#5F6E1B
accent
#FD2BD7
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A032A

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

Preview Lab → · Contrast checker → · Palette generator →

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