#0A031D#0A031D

#0A031D is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.6% C 0.057 H 292.4°. Best body text is #FFFFFF at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#0A031D
RGBrgb(10, 3, 29)
HSLhsl(256, 81%, 6%)
HSVhsv(256, 90%, 11%)
CMYKcmyk(65.5%, 89.7%, 0%, 88.6%)
CIE-LABlab(1.97, 7.04, -13.33)
CIE-LCHlch(1.97, 15.07, 297.84°)
OKLaboklab(13.61% 0.0217 -0.0526)
OKLCHoklch(13.61% 0.057 292.4)
XYZxyz(0.3794, 0.2184, 1.1843)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A031D #161D03
analogous
#03091D #0A031D #17031D
triadic
#0A031D #1D0A03 #031D0A
tetradic
#0A031D #1D0309 #161D03 #031D17
square
#0A031D #1D0309 #161D03 #031D17
split-complementary
#0A031D #1D1703 #091D03
monochromatic
#0A031C #0A031C #0A031D #1D0954 #300E8C

Accessibility & contrast

On white

20.12
#0A031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0A031D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A031D
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A031D#FFFFFF#000000##FFFFFF
##0A031D1.0020.121.0420.12
#FFFFFF20.121.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081E
Deuteranopia (green-blind)
#00071C
Tritanopia (blue-blind)
#05080E
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0a031d;
/* rgb */ color: rgb(10, 3, 29);
/* oklch */ color: oklch(13.6% 0.057 292.4);
Tailwind
colors: {
  custom: {
    50: '#4b4858',
    500: '#0a031d',
    950: '#000000',
  },
}
SCSS
$custom: #0a031d;
$custom-light: #4b4858;
$custom-dark: #000000;
JSON
{
  "hex": "#0a031d",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 256.154,
    "s": 81.25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13613,
    "c": 0.05694,
    "h": 292.4
  },
  "luminance": 0.00218
}

Semantic roles & 50–950 ramp

primary
#0A031D
secondary
#4E611B
accent
#F830C2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0A031D

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

Preview Lab → · Contrast checker → · Palette generator →

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