#090229#090229

#090229 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.7% C 0.078 H 282.7°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#090229
RGBrgb(9, 2, 41)
HSLhsl(251, 91%, 8%)
HSVhsv(251, 95%, 16%)
CMYKcmyk(78%, 95.1%, 0%, 83.9%)
CIE-LABlab(2.36, 11.71, -22.14)
CIE-LCHlch(2.36, 25.05, 297.87°)
OKLaboklab(14.7% 0.0171 -0.0757)
OKLCHoklch(14.7% 0.078 282.7)
XYZxyz(0.5345, 0.2616, 2.1197)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#090229 #222902
analogous
#020E29 #090229 #1C0229
triadic
#090229 #290902 #022909
tetradic
#090229 #29020E #222902 #02291C
square
#090229 #29020E #222902 #02291C
split-complementary
#090229 #291C02 #0E2902
monochromatic
#06011D #06011D #090229 #160563 #23089E

Accessibility & contrast

On white

19.95
#090229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #090229
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##090229#FFFFFF#000000##FFFFFF
##0902291.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2A
Deuteranopia (green-blind)
#000728
Tritanopia (blue-blind)
#000C14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #090229;
/* rgb */ color: rgb(9, 2, 41);
/* oklch */ color: oklch(14.7% 0.078 282.7);
Tailwind
colors: {
  custom: {
    50: '#4b4763',
    500: '#090229',
    950: '#000000',
  },
}
SCSS
$custom: #090229;
$custom-light: #4b4763;
$custom-dark: #000000;
JSON
{
  "hex": "#090229",
  "rgb": {
    "r": 9,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 250.769,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14695,
    "c": 0.0776,
    "h": 282.7
  },
  "luminance": 0.00262
}

Semantic roles & 50–950 ramp

primary
#090229
secondary
#5F6E19
accent
#FF29D9
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #090229

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

Preview Lab → · Contrast checker → · Palette generator →

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