#0A0128#0A0128

#0A0128 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.4% C 0.079 H 285.8°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#0A0128
RGBrgb(10, 1, 40)
HSLhsl(254, 95%, 8%)
HSVhsv(254, 98%, 16%)
CMYKcmyk(75%, 97.5%, 0%, 84.3%)
CIE-LABlab(2.16, 11.94, -21.68)
CIE-LCHlch(2.16, 24.75, 298.83°)
OKLaboklab(14.37% 0.0213 -0.0756)
OKLCHoklch(14.37% 0.079 285.8)
XYZxyz(0.5189, 0.2394, 2.0259)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0128 #1F2801
analogous
#010B28 #0A0128 #1D0128
triadic
#0A0128 #280A01 #01280A
tetradic
#0A0128 #28010B #1F2801 #01281D
square
#0A0128 #28010B #1F2801 #01281D
split-complementary
#0A0128 #281D01 #0B2801
monochromatic
#07011E #07011E #0A0128 #190264 #28049F

Accessibility & contrast

On white

20.04
#0A0128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0128
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0128#FFFFFF#000000##FFFFFF
##0A01281.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000929
Deuteranopia (green-blind)
#000727
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a0128;
/* rgb */ color: rgb(10, 1, 40);
/* oklch */ color: oklch(14.4% 0.079 285.8);
Tailwind
colors: {
  custom: {
    50: '#4b4762',
    500: '#0a0128',
    950: '#000000',
  },
}
SCSS
$custom: #0a0128;
$custom-light: #4b4762;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0128",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 253.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.14368,
    "c": 0.07854,
    "h": 285.8
  },
  "luminance": 0.00239
}

Semantic roles & 50–950 ramp

primary
#0A0128
secondary
#5A6F16
accent
#FF29CE
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A0128

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

Preview Lab → · Contrast checker → · Palette generator →

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