#0A0136#0A0136

#0A0136 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.097 H 278.3°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#0A0136
RGBrgb(10, 1, 54)
HSLhsl(250, 96%, 11%)
HSVhsv(250, 98%, 21%)
CMYKcmyk(81.5%, 98.1%, 0%, 78.8%)
CIE-LABlab(3.18, 19.12, -30.61)
CIE-LCHlch(3.18, 36.09, 301.99°)
OKLaboklab(16.42% 0.0141 -0.0959)
OKLCHoklch(16.42% 0.097 278.3)
XYZxyz(0.8017, 0.3525, 3.5151)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0136 #2D3601
analogous
#011236 #0A0136 #240136
triadic
#0A0136 #360A01 #01360A
tetradic
#0A0136 #360112 #2D3601 #013624
square
#0A0136 #360112 #2D3601 #013624
split-complementary
#0A0136 #362401 #123601
monochromatic
#06011E #06011E #0A0136 #150272 #2003AE

Accessibility & contrast

On white

19.62
#0A0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0136
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0136#FFFFFF#000000##FFFFFF
##0A01361.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000935
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a0136;
/* rgb */ color: rgb(10, 1, 54);
/* oklch */ color: oklch(16.4% 0.097 278.3);
Tailwind
colors: {
  custom: {
    50: '#4f466e',
    500: '#0a0136',
    950: '#000000',
  },
}
SCSS
$custom: #0a0136;
$custom-light: #4f466e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0136",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 250.189,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16418,
    "c": 0.09696,
    "h": 278.3
  },
  "luminance": 0.00353
}

Semantic roles & 50–950 ramp

primary
#0A0136
secondary
#6A7B18
accent
#FF29DB
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0136

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

Preview Lab → · Contrast checker → · Palette generator →

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