#050207#050207

#050207 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 9.9% C 0.022 H 314.2°. Best body text is #FFFFFF at 20.62:1 contrast (WCAG AA passes).

Color values

HEX#050207
RGBrgb(5, 2, 7)
HSLhsl(276, 56%, 2%)
HSVhsv(276, 71%, 3%)
CMYKcmyk(28.6%, 71.4%, 0%, 97.3%)
CIE-LABlab(0.82, 1.48, -1.62)
CIE-LCHlch(0.82, 2.19, 312.46°)
OKLaboklab(9.93% 0.0151 -0.0155)
OKLCHoklch(9.93% 0.022 314.2)
XYZxyz(0.1226, 0.0910, 0.2121)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050207 #040702
analogous
#030207 #050207 #070207
triadic
#050207 #070502 #020705
tetradic
#050207 #070302 #040702 #020707
square
#050207 #070302 #040702 #020707
split-complementary
#050207 #070702 #020703
monochromatic
#110718 #110718 #110718 #271037 #491D66

Accessibility & contrast

On white

20.62
#050207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050207
20.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050207#FFFFFF#000000##FFFFFF
##0502071.0020.621.0220.62
#FFFFFF20.621.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010307
Deuteranopia (green-blind)
#020307
Tritanopia (blue-blind)
#050304
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #050207;
/* rgb */ color: rgb(5, 2, 7);
/* oklch */ color: oklch(9.9% 0.022 314.2);
Tailwind
colors: {
  custom: {
    50: '#49484a',
    500: '#050207',
    950: '#000000',
  },
}
SCSS
$custom: #050207;
$custom-light: #49484a;
$custom-dark: #000000;
JSON
{
  "hex": "#050207",
  "rgb": {
    "r": 5,
    "g": 2,
    "b": 7
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 1.765
  },
  "oklch": {
    "l": 0.09935,
    "c": 0.0216,
    "h": 314.2
  },
  "luminance": 0.00091
}

Semantic roles & 50–950 ramp

primary
#050207
secondary
#2E461F
accent
#DF4985
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #050207

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

Preview Lab → · Contrast checker → · Palette generator →

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