#0A0129#0A0129

#0A0129 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.5% C 0.080 H 285.1°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#0A0129
RGBrgb(10, 1, 41)
HSLhsl(254, 95%, 8%)
HSVhsv(254, 98%, 16%)
CMYKcmyk(75.6%, 97.6%, 0%, 83.9%)
CIE-LABlab(2.22, 12.37, -22.35)
CIE-LCHlch(2.22, 25.55, 298.96°)
OKLaboklab(14.51% 0.0208 -0.0771)
OKLCHoklch(14.51% 0.08 285.1)
XYZxyz(0.5361, 0.2463, 2.1167)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0129 #202901
analogous
#010C29 #0A0129 #1E0129
triadic
#0A0129 #290A01 #01290A
tetradic
#0A0129 #29010C #202901 #01291E
square
#0A0129 #29010C #202901 #01291E
split-complementary
#0A0129 #291E01 #0C2901
monochromatic
#07011E #07011E #0A0129 #190265 #2704A0

Accessibility & contrast

On white

20.02
#0A0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0129
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0129#FFFFFF#000000##FFFFFF
##0A01291.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092A
Deuteranopia (green-blind)
#000728
Tritanopia (blue-blind)
#000B14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a0129;
/* rgb */ color: rgb(10, 1, 41);
/* oklch */ color: oklch(14.5% 0.080 285.1);
Tailwind
colors: {
  custom: {
    50: '#4b4763',
    500: '#0a0129',
    950: '#000000',
  },
}
SCSS
$custom: #0a0129;
$custom-light: #4b4763;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0129",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 253.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.14511,
    "c": 0.07987,
    "h": 285.1
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

primary
#0A0129
secondary
#5B6F16
accent
#FF29CF
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A0129

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

Preview Lab → · Contrast checker → · Palette generator →

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