#020105#020105

#020105 is a very dark, muted violet. Relative luminance 0.000; OKLCH L 7.9% C 0.022 H 297.4°. Best body text is #FFFFFF at 20.81:1 contrast (WCAG AA passes).

Color values

HEX#020105
RGBrgb(2, 1, 5)
HSLhsl(255, 67%, 1%)
HSVhsv(255, 80%, 2%)
CMYKcmyk(60%, 80%, 0%, 98%)
CIE-LABlab(0.41, 0.82, -1.42)
CIE-LCHlch(0.41, 1.64, 299.91°)
OKLaboklab(7.91% 0.01 -0.0193)
OKLCHoklch(7.91% 0.022 297.4)
XYZxyz(0.0633, 0.0456, 0.1490)
Luminance0.0005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020105 #040501
analogous
#010205 #020105 #040105
triadic
#020105 #050201 #010502
tetradic
#020105 #050102 #040501 #010504
square
#020105 #050102 #040501 #010504
split-complementary
#020105 #050401 #020501
monochromatic
#0A051A #0A051A #0A051A #160B38 #2B156B

Accessibility & contrast

On white

20.81
#020105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#020105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020105
20.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020105#FFFFFF#000000##FFFFFF
##0201051.0020.811.0120.81
#FFFFFF20.811.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000205
Deuteranopia (green-blind)
#000105
Tritanopia (blue-blind)
#020202
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #020105;
/* rgb */ color: rgb(2, 1, 5);
/* oklch */ color: oklch(7.9% 0.022 297.4);
Tailwind
colors: {
  custom: {
    50: '#484749',
    500: '#020105',
    950: '#000000',
  },
}
SCSS
$custom: #020105;
$custom-light: #484749;
$custom-dark: #000000;
JSON
{
  "hex": "#020105",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 5
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 1.176
  },
  "oklch": {
    "l": 0.0791,
    "c": 0.02169,
    "h": 297.4
  },
  "luminance": 0.00046
}

Semantic roles & 50–950 ramp

primary
#020105
secondary
#3C481A
accent
#EA3EBF
background
#F4F3F4
surface
#E6E5E6
border
#C2C1C2
text
#000000
muted
#777777

Preview Lab

Preview with #020105

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

Preview Lab → · Contrast checker → · Palette generator →

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