#0A0225#0A0225

#0A0225 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.3% C 0.072 H 287.0°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#0A0225
RGBrgb(10, 2, 37)
HSLhsl(254, 90%, 8%)
HSVhsv(254, 95%, 15%)
CMYKcmyk(73%, 94.6%, 0%, 85.5%)
CIE-LABlab(2.18, 10.29, -19.33)
CIE-LCHlch(2.18, 21.90, 298.03°)
OKLaboklab(14.27% 0.021 -0.0687)
OKLCHoklch(14.27% 0.072 287)
XYZxyz(0.4807, 0.2415, 1.7712)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0225 #1D2502
analogous
#020C25 #0A0225 #1B0225
triadic
#0A0225 #250A02 #02250A
tetradic
#0A0225 #25020C #1D2502 #02251B
square
#0A0225 #25020C #1D2502 #02251B
split-complementary
#0A0225 #251B02 #0C2502
monochromatic
#08021D #08021D #0A0225 #1A055F #290899

Accessibility & contrast

On white

20.03
#0A0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0225
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0225#FFFFFF#000000##FFFFFF
##0A02251.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000926
Deuteranopia (green-blind)
#000724
Tritanopia (blue-blind)
#020A12
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0a0225;
/* rgb */ color: rgb(10, 2, 37);
/* oklch */ color: oklch(14.3% 0.072 287.0);
Tailwind
colors: {
  custom: {
    50: '#4b475f',
    500: '#0a0225',
    950: '#000000',
  },
}
SCSS
$custom: #0a0225;
$custom-light: #4b475f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0225",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 253.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14274,
    "c": 0.07179,
    "h": 287
  },
  "luminance": 0.00242
}

Semantic roles & 50–950 ramp

primary
#0A0225
secondary
#586A18
accent
#FF29CE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #0A0225

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

Preview Lab → · Contrast checker → · Palette generator →

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