#0A0126#0A0126

#0A0126 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.1% C 0.076 H 287.2°. Best body text is #FFFFFF at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#0A0126
RGBrgb(10, 1, 38)
HSLhsl(255, 95%, 8%)
HSVhsv(255, 97%, 15%)
CMYKcmyk(73.7%, 97.4%, 0%, 85.1%)
CIE-LABlab(2.04, 11.09, -20.32)
CIE-LCHlch(2.04, 23.15, 298.63°)
OKLaboklab(14.09% 0.0224 -0.0725)
OKLCHoklch(14.09% 0.076 287.2)
XYZxyz(0.4858, 0.2262, 1.8514)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0126 #1D2601
analogous
#010A26 #0A0126 #1D0126
triadic
#0A0126 #260A01 #01260A
tetradic
#0A0126 #26010A #1D2601 #01261D
square
#0A0126 #26010A #1D2601 #01261D
split-complementary
#0A0126 #261D01 #0A2601
monochromatic
#08011E #08011E #0A0126 #1A0362 #29049D

Accessibility & contrast

On white

20.09
#0A0126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0126
20.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0126#FFFFFF#000000##FFFFFF
##0A01261.0020.091.0520.09
#FFFFFF20.091.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000725
Tritanopia (blue-blind)
#010A12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0a0126;
/* rgb */ color: rgb(10, 1, 38);
/* oklch */ color: oklch(14.1% 0.076 287.2);
Tailwind
colors: {
  custom: {
    50: '#4b4760',
    500: '#0a0126',
    950: '#000000',
  },
}
SCSS
$custom: #0a0126;
$custom-light: #4b4760;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0126",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 254.595,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14085,
    "c": 0.07589,
    "h": 287.2
  },
  "luminance": 0.00226
}

Semantic roles & 50–950 ramp

primary
#0A0126
secondary
#586D16
accent
#FF29CB
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #0A0126

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

Preview Lab → · Contrast checker → · Palette generator →

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