#080223#080223

#080223 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.7% C 0.069 H 284.7°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#080223
RGBrgb(8, 2, 35)
HSLhsl(251, 89%, 7%)
HSVhsv(251, 94%, 14%)
CMYKcmyk(77.1%, 94.3%, 0%, 86.3%)
CIE-LABlab(1.95, 8.99, -18.12)
CIE-LCHlch(1.95, 20.23, 296.38°)
OKLaboklab(13.74% 0.0175 -0.0669)
OKLCHoklch(13.74% 0.069 284.7)
XYZxyz(0.4251, 0.2164, 1.6091)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080223 #1D2302
analogous
#020D23 #080223 #190223
triadic
#080223 #230802 #022308
tetradic
#080223 #23020D #1D2302 #022319
square
#080223 #23020D #1D2302 #022319
split-complementary
#080223 #231902 #0D2302
monochromatic
#07021D #07021D #080223 #15055D #220997

Accessibility & contrast

On white

20.13
#080223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#080223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080223
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080223#FFFFFF#000000##FFFFFF
##0802231.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000824
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#000911
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #080223;
/* rgb */ color: rgb(8, 2, 35);
/* oklch */ color: oklch(13.7% 0.069 284.7);
Tailwind
colors: {
  custom: {
    50: '#4a475e',
    500: '#080223',
    950: '#000000',
  },
}
SCSS
$custom: #080223;
$custom-light: #4a475e;
$custom-dark: #000000;
JSON
{
  "hex": "#080223",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 250.909,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13739,
    "c": 0.06915,
    "h": 284.7
  },
  "luminance": 0.00216
}

Semantic roles & 50–950 ramp

primary
#080223
secondary
#5A6918
accent
#FF29D8
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080223

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

Preview Lab → · Contrast checker → · Palette generator →

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