#0A0124#0A0124

#0A0124 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.8% C 0.073 H 288.7°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#0A0124
RGBrgb(10, 1, 36)
HSLhsl(255, 95%, 7%)
HSVhsv(255, 97%, 14%)
CMYKcmyk(72.2%, 97.2%, 0%, 85.9%)
CIE-LABlab(1.93, 10.30, -18.94)
CIE-LCHlch(1.93, 21.56, 298.54°)
OKLaboklab(13.81% 0.0235 -0.0693)
OKLCHoklch(13.81% 0.073 288.7)
XYZxyz(0.4544, 0.2136, 1.6860)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0124 #1B2401
analogous
#010924 #0A0124 #1C0124
triadic
#0A0124 #240A01 #01240A
tetradic
#0A0124 #240109 #1B2401 #01241C
square
#0A0124 #240109 #1B2401 #01241C
split-complementary
#0A0124 #241C01 #092401
monochromatic
#08011E #08011E #0A0124 #1B0360 #2B049B

Accessibility & contrast

On white

20.14
#0A0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0124
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0124#FFFFFF#000000##FFFFFF
##0A01241.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000825
Deuteranopia (green-blind)
#000623
Tritanopia (blue-blind)
#020911
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0a0124;
/* rgb */ color: rgb(10, 1, 36);
/* oklch */ color: oklch(13.8% 0.073 288.7);
Tailwind
colors: {
  custom: {
    50: '#4b475e',
    500: '#0a0124',
    950: '#000000',
  },
}
SCSS
$custom: #0a0124;
$custom-light: #4b475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0124",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 255.429,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13806,
    "c": 0.07321,
    "h": 288.7
  },
  "luminance": 0.00214
}

Semantic roles & 50–950 ramp

primary
#0A0124
secondary
#556B16
accent
#FF29C8
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0A0124

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

Preview Lab → · Contrast checker → · Palette generator →

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