#090226#090226

#090226 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.3% C 0.073 H 284.5°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#090226
RGBrgb(9, 2, 38)
HSLhsl(252, 90%, 8%)
HSVhsv(252, 95%, 15%)
CMYKcmyk(76.3%, 94.7%, 0%, 85.1%)
CIE-LABlab(2.18, 10.43, -20.11)
CIE-LCHlch(2.18, 22.66, 297.42°)
OKLaboklab(14.28% 0.0184 -0.071)
OKLCHoklch(14.28% 0.073 284.5)
XYZxyz(0.4841, 0.2414, 1.8544)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090226 #1F2602
analogous
#020D26 #090226 #1B0226
triadic
#090226 #260902 #022609
tetradic
#090226 #26020D #1F2602 #02261B
square
#090226 #26020D #1F2602 #02261B
split-complementary
#090226 #261B02 #0D2602
monochromatic
#07021D #07021D #090226 #170560 #25089A

Accessibility & contrast

On white

20.03
#090226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090226
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090226#FFFFFF#000000##FFFFFF
##0902261.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.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: #090226;
/* rgb */ color: rgb(9, 2, 38);
/* oklch */ color: oklch(14.3% 0.073 284.5);
Tailwind
colors: {
  custom: {
    50: '#4b4760',
    500: '#090226',
    950: '#000000',
  },
}
SCSS
$custom: #090226;
$custom-light: #4b4760;
$custom-dark: #000000;
JSON
{
  "hex": "#090226",
  "rgb": {
    "r": 9,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 251.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14281,
    "c": 0.07334,
    "h": 284.5
  },
  "luminance": 0.00241
}

Semantic roles & 50–950 ramp

primary
#090226
secondary
#5B6B18
accent
#FF29D5
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #090226

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

Preview Lab → · Contrast checker → · Palette generator →

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