#0F0436#0F0436

#0F0436 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.091 H 283.1°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#0F0436
RGBrgb(15, 4, 54)
HSLhsl(253, 86%, 11%)
HSVhsv(253, 93%, 21%)
CMYKcmyk(72.2%, 92.6%, 0%, 78.8%)
CIE-LABlab(4.11, 19.35, -29.10)
CIE-LCHlch(4.11, 34.95, 303.62°)
OKLaboklab(17.62% 0.0206 -0.0883)
OKLCHoklch(17.62% 0.091 283.1)
XYZxyz(0.9061, 0.4547, 3.5293)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0436 #2B3604
analogous
#041236 #0F0436 #280436
triadic
#0F0436 #360F04 #04360F
tetradic
#0F0436 #360412 #2B3604 #043628
square
#0F0436 #360412 #2B3604 #043628
split-complementary
#0F0436 #362804 #123604
monochromatic
#08021C #08021C #0F0436 #1F086F #2F0CA8

Accessibility & contrast

On white

19.25
#0F0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0F0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0436
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0436#FFFFFF#000000##FFFFFF
##0F04361.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000D35
Tritanopia (blue-blind)
#00121D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0436;
/* rgb */ color: rgb(15, 4, 54);
/* oklch */ color: oklch(17.6% 0.091 283.1);
Tailwind
colors: {
  custom: {
    50: '#52476d',
    500: '#0f0436',
    950: '#000000',
  },
}
SCSS
$custom: #0f0436;
$custom-light: #52476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0436",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 253.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17621,
    "c": 0.09072,
    "h": 283.1
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#0F0436
secondary
#64781E
accent
#FC2BCE
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0436

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

Preview Lab → · Contrast checker → · Palette generator →

#0F0436 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva