#050210#050210

#050210 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 10.8% C 0.039 H 293.7°. Best body text is #FFFFFF at 20.54:1 contrast (WCAG AA passes).

Color values

HEX#050210
RGBrgb(5, 2, 16)
HSLhsl(253, 78%, 4%)
HSVhsv(253, 88%, 6%)
CMYKcmyk(68.7%, 87.5%, 0%, 93.7%)
CIE-LABlab(1.02, 2.88, -5.43)
CIE-LCHlch(1.02, 6.14, 297.95°)
OKLaboklab(10.83% 0.0156 -0.0356)
OKLCHoklch(10.83% 0.039 293.7)
XYZxyz(0.1778, 0.1131, 0.5026)
Luminance0.0011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050210 #0D1002
analogous
#020610 #050210 #0C0210
triadic
#050210 #100502 #021005
tetradic
#050210 #100206 #0D1002 #02100C
square
#050210 #100206 #0D1002 #02100C
split-complementary
#050210 #100C02 #061002
monochromatic
#08031B #08031B #08031B #160946 #27107D

Accessibility & contrast

On white

20.54
#050210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#050210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050210
20.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050210#FFFFFF#000000##FFFFFF
##0502101.0020.541.0220.54
#FFFFFF20.541.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000411
Deuteranopia (green-blind)
#000410
Tritanopia (blue-blind)
#030407
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #050210;
/* rgb */ color: rgb(5, 2, 16);
/* oklch */ color: oklch(10.8% 0.039 293.7);
Tailwind
colors: {
  custom: {
    50: '#49484e',
    500: '#050210',
    950: '#000000',
  },
}
SCSS
$custom: #050210;
$custom-light: #49484e;
$custom-dark: #000000;
JSON
{
  "hex": "#050210",
  "rgb": {
    "r": 5,
    "g": 2,
    "b": 16
  },
  "hsl": {
    "h": 252.857,
    "s": 77.778,
    "l": 3.529
  },
  "oklch": {
    "l": 0.10827,
    "c": 0.03886,
    "h": 293.7
  },
  "luminance": 0.00113
}

Semantic roles & 50–950 ramp

primary
#050210
secondary
#485519
accent
#F434CB
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #050210

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

Preview Lab → · Contrast checker → · Palette generator →

#050210 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva