#0A002B#0A002B

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

Color values

HEX#0A002B
RGBrgb(10, 0, 43)
HSLhsl(254, 100%, 8%)
HSVhsv(254, 100%, 17%)
CMYKcmyk(76.7%, 100%, 0%, 83.1%)
CIE-LABlab(2.16, 13.68, -23.99)
CIE-LCHlch(2.16, 27.62, 299.70°)
OKLaboklab(14.49% 0.0213 -0.0823)
OKLCHoklch(14.49% 0.085 284.5)
XYZxyz(0.5611, 0.2389, 2.3016)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A002B #212B00
analogous
#000B2B #0A002B #1F002B
triadic
#0A002B #2B0A00 #002B0A
tetradic
#0A002B #2B000B #212B00 #002B1F
square
#0A002B #2B000B #212B00 #002B1F
split-complementary
#0A002B #2B1F00 #0B2B00
monochromatic
#07001F #07001F #0A002B #180068 #2600A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A002B#FFFFFF#000000##FFFFFF
##0A002B1.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)
#00092C
Deuteranopia (green-blind)
#00072A
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a002b;
/* rgb */ color: rgb(10, 0, 43);
/* oklch */ color: oklch(14.5% 0.085 284.5);
Tailwind
colors: {
  custom: {
    50: '#4c4664',
    500: '#0a002b',
    950: '#000000',
  },
}
SCSS
$custom: #0a002b;
$custom-light: #4c4664;
$custom-dark: #000000;
JSON
{
  "hex": "#0a002b",
  "rgb": {
    "r": 10,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 253.953,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14493,
    "c": 0.08497,
    "h": 284.5
  },
  "luminance": 0.00239
}

Semantic roles & 50–950 ramp

primary
#0A002B
secondary
#5D7314
accent
#FF29CD
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0A002B

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

Preview Lab → · Contrast checker → · Palette generator →

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