#0A0023#0A0023

#0A0023 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.3% C 0.075 H 290.6°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#0A0023
RGBrgb(10, 0, 35)
HSLhsl(257, 100%, 7%)
HSVhsv(257, 100%, 14%)
CMYKcmyk(71.4%, 100%, 0%, 86.3%)
CIE-LABlab(1.68, 10.31, -18.54)
CIE-LCHlch(1.68, 21.21, 299.09°)
OKLaboklab(13.31% 0.0264 -0.0702)
OKLCHoklch(13.31% 0.075 290.6)
XYZxyz(0.4285, 0.1859, 1.6031)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0023 #192300
analogous
#000823 #0A0023 #1C0023
triadic
#0A0023 #230A00 #00230A
tetradic
#0A0023 #230008 #192300 #00231C
square
#0A0023 #230008 #192300 #00231C
split-complementary
#0A0023 #231C00 #082300
monochromatic
#09001F #09001F #0A0023 #1B0060 #2D009D

Accessibility & contrast

On white

20.25
#0A0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0A0023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0023
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0023#FFFFFF#000000##FFFFFF
##0A00231.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000724
Deuteranopia (green-blind)
#000522
Tritanopia (blue-blind)
#030710
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0a0023;
/* rgb */ color: rgb(10, 0, 35);
/* oklch */ color: oklch(13.3% 0.075 290.6);
Tailwind
colors: {
  custom: {
    50: '#4b475e',
    500: '#0a0023',
    950: '#000000',
  },
}
SCSS
$custom: #0a0023;
$custom-light: #4b475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0023",
  "rgb": {
    "r": 10,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 257.143,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13308,
    "c": 0.07503,
    "h": 290.6
  },
  "luminance": 0.00186
}

Semantic roles & 50–950 ramp

primary
#0A0023
secondary
#526C13
accent
#FF29C2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0A0023

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

Preview Lab → · Contrast checker → · Palette generator →

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