#0A0027#0A0027

#0A0027 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.9% C 0.080 H 287.3°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#0A0027
RGBrgb(10, 0, 39)
HSLhsl(255, 100%, 8%)
HSVhsv(255, 100%, 15%)
CMYKcmyk(74.4%, 100%, 0%, 84.7%)
CIE-LABlab(1.91, 11.91, -21.31)
CIE-LCHlch(1.91, 24.41, 299.20°)
OKLaboklab(13.9% 0.0238 -0.0763)
OKLCHoklch(13.9% 0.08 287.3)
XYZxyz(0.4913, 0.2110, 1.9339)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0027 #1D2700
analogous
#000927 #0A0027 #1E0027
triadic
#0A0027 #270A00 #00270A
tetradic
#0A0027 #270009 #1D2700 #00271E
square
#0A0027 #270009 #1D2700 #00271E
split-complementary
#0A0027 #271E00 #092700
monochromatic
#08001F #08001F #0A0027 #1A0064 #2900A1

Accessibility & contrast

On white

20.15
#0A0027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0027
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0027#FFFFFF#000000##FFFFFF
##0A00271.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000828
Deuteranopia (green-blind)
#000626
Tritanopia (blue-blind)
#010912
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0a0027;
/* rgb */ color: rgb(10, 0, 39);
/* oklch */ color: oklch(13.9% 0.080 287.3);
Tailwind
colors: {
  custom: {
    50: '#4b4661',
    500: '#0a0027',
    950: '#000000',
  },
}
SCSS
$custom: #0a0027;
$custom-light: #4b4661;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0027",
  "rgb": {
    "r": 10,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 255.385,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13895,
    "c": 0.07997,
    "h": 287.3
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#0A0027
secondary
#586F14
accent
#FF29C8
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A0027

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

Preview Lab → · Contrast checker → · Palette generator →

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