#0A0127#0A0127

#0A0127 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.077 H 286.5°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#0A0127
RGBrgb(10, 1, 39)
HSLhsl(254, 95%, 8%)
HSVhsv(254, 97%, 15%)
CMYKcmyk(74.4%, 97.4%, 0%, 84.7%)
CIE-LABlab(2.10, 11.51, -21.00)
CIE-LCHlch(2.10, 23.95, 298.72°)
OKLaboklab(14.23% 0.0219 -0.074)
OKLCHoklch(14.23% 0.077 286.5)
XYZxyz(0.5021, 0.2327, 1.9375)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0127 #1E2701
analogous
#010B27 #0A0127 #1D0127
triadic
#0A0127 #270A01 #01270A
tetradic
#0A0127 #27010B #1E2701 #01271D
square
#0A0127 #27010B #1E2701 #01271D
split-complementary
#0A0127 #271D01 #0B2701
monochromatic
#08011E #08011E #0A0127 #190363 #29049E

Accessibility & contrast

On white

20.06
#0A0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0127
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0127#FFFFFF#000000##FFFFFF
##0A01271.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000726
Tritanopia (blue-blind)
#010A13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a0127;
/* rgb */ color: rgb(10, 1, 39);
/* oklch */ color: oklch(14.2% 0.077 286.5);
Tailwind
colors: {
  custom: {
    50: '#4b4761',
    500: '#0a0127',
    950: '#000000',
  },
}
SCSS
$custom: #0a0127;
$custom-light: #4b4761;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0127",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 254.211,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14226,
    "c": 0.07721,
    "h": 286.5
  },
  "luminance": 0.00233
}

Semantic roles & 50–950 ramp

primary
#0A0127
secondary
#596E16
accent
#FF29CC
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #0A0127

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

Preview Lab → · Contrast checker → · Palette generator →

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