#080226#080226

#080226 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.074 H 282.7°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#080226
RGBrgb(8, 2, 38)
HSLhsl(250, 90%, 8%)
HSVhsv(250, 95%, 15%)
CMYKcmyk(78.9%, 94.7%, 0%, 85.1%)
CIE-LABlab(2.12, 10.17, -20.21)
CIE-LCHlch(2.12, 22.62, 296.72°)
OKLaboklab(14.15% 0.0162 -0.0717)
OKLCHoklch(14.15% 0.074 282.7)
XYZxyz(0.4716, 0.2349, 1.8538)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080226 #202602
analogous
#020E26 #080226 #1A0226
triadic
#080226 #260802 #022608
tetradic
#080226 #26020E #202602 #02261A
square
#080226 #26020E #202602 #02261A
split-complementary
#080226 #261A02 #0E2602
monochromatic
#06021D #06021D #080226 #140560 #20089A

Accessibility & contrast

On white

20.06
#080226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#080226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080226
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080226#FFFFFF#000000##FFFFFF
##0802261.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000927
Deuteranopia (green-blind)
#000725
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #080226;
/* rgb */ color: rgb(8, 2, 38);
/* oklch */ color: oklch(14.2% 0.074 282.7);
Tailwind
colors: {
  custom: {
    50: '#4a4760',
    500: '#080226',
    950: '#000000',
  },
}
SCSS
$custom: #080226;
$custom-light: #4a4760;
$custom-dark: #000000;
JSON
{
  "hex": "#080226",
  "rgb": {
    "r": 8,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 250,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14151,
    "c": 0.07352,
    "h": 282.7
  },
  "luminance": 0.00235
}

Semantic roles & 50–950 ramp

primary
#080226
secondary
#5E6B18
accent
#FF29DB
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #080226

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

Preview Lab → · Contrast checker → · Palette generator →

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