#0A0131#0A0131

#0A0131 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.090 H 280.6°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#0A0131
RGBrgb(10, 1, 49)
HSLhsl(251, 96%, 10%)
HSVhsv(251, 98%, 19%)
CMYKcmyk(79.6%, 98%, 0%, 80.8%)
CIE-LABlab(2.78, 16.29, -27.54)
CIE-LCHlch(2.78, 31.99, 300.60°)
OKLaboklab(15.68% 0.0166 -0.0889)
OKLCHoklch(15.68% 0.09 280.6)
XYZxyz(0.6902, 0.3079, 2.9282)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0131 #283101
analogous
#011031 #0A0131 #220131
triadic
#0A0131 #310A01 #01310A
tetradic
#0A0131 #310110 #283101 #013122
square
#0A0131 #310110 #283101 #013122
split-complementary
#0A0131 #312201 #103101
monochromatic
#06011E #06011E #0A0131 #16026D #2203A9

Accessibility & contrast

On white

19.78
#0A0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0A0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0131
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0131#FFFFFF#000000##FFFFFF
##0A01311.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#000E19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0a0131;
/* rgb */ color: rgb(10, 1, 49);
/* oklch */ color: oklch(15.7% 0.090 280.6);
Tailwind
colors: {
  custom: {
    50: '#4d4669',
    500: '#0a0131',
    950: '#000000',
  },
}
SCSS
$custom: #0a0131;
$custom-light: #4d4669;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0131",
  "rgb": {
    "r": 10,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 251.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15675,
    "c": 0.09044,
    "h": 280.6
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#0A0131
secondary
#657717
accent
#FF29D7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A0131

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

Preview Lab → · Contrast checker → · Palette generator →

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