#0A0422#0A0422

#0A0422 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.5% C 0.062 H 287.0°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#0A0422
RGBrgb(10, 4, 34)
HSLhsl(252, 79%, 7%)
HSVhsv(252, 88%, 13%)
CMYKcmyk(70.6%, 88.2%, 0%, 86.7%)
CIE-LABlab(2.41, 8.34, -16.63)
CIE-LCHlch(2.41, 18.61, 296.63°)
OKLaboklab(14.53% 0.0181 -0.0593)
OKLCHoklch(14.53% 0.062 287)
XYZxyz(0.4572, 0.2668, 1.5405)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0422 #1C2204
analogous
#040D22 #0A0422 #190422
triadic
#0A0422 #220A04 #04220A
tetradic
#0A0422 #22040D #1C2204 #042219
square
#0A0422 #22040D #1C2204 #042219
split-complementary
#0A0422 #221904 #0D2204
monochromatic
#08031B #08031B #0A0422 #1A0A59 #2A1190

Accessibility & contrast

On white

19.94
#0A0422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0A0422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0422
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0422#FFFFFF#000000##FFFFFF
##0A04221.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A23
Deuteranopia (green-blind)
#000821
Tritanopia (blue-blind)
#030B11
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0a0422;
/* rgb */ color: rgb(10, 4, 34);
/* oklch */ color: oklch(14.5% 0.062 287.0);
Tailwind
colors: {
  custom: {
    50: '#4b485d',
    500: '#0a0422',
    950: '#000000',
  },
}
SCSS
$custom: #0a0422;
$custom-light: #4b485d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0422",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 252,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.1453,
    "c": 0.06202,
    "h": 287
  },
  "luminance": 0.00267
}

Semantic roles & 50–950 ramp

primary
#0A0422
secondary
#56651D
accent
#F532CE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #0A0422

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

Preview Lab → · Contrast checker → · Palette generator →

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