#0F0434#0F0434

#0F0434 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.088 H 284.1°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#0F0434
RGBrgb(15, 4, 52)
HSLhsl(254, 86%, 11%)
HSVhsv(254, 92%, 20%)
CMYKcmyk(71.2%, 92.3%, 0%, 79.6%)
CIE-LABlab(3.94, 18.24, -27.89)
CIE-LCHlch(3.94, 33.33, 303.18°)
OKLaboklab(17.36% 0.0214 -0.0853)
OKLCHoklch(17.36% 0.088 284.1)
XYZxyz(0.8601, 0.4363, 3.2870)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0434 #293404
analogous
#041134 #0F0434 #270434
triadic
#0F0434 #340F04 #04340F
tetradic
#0F0434 #340411 #293404 #043427
square
#0F0434 #340411 #293404 #043427
split-complementary
#0F0434 #342704 #113404
monochromatic
#08021C #08021C #0F0434 #1F086D #300DA6

Accessibility & contrast

On white

19.32
#0F0434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0434
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0434#FFFFFF#000000##FFFFFF
##0F04341.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F35
Deuteranopia (green-blind)
#000C33
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0434;
/* rgb */ color: rgb(15, 4, 52);
/* oklch */ color: oklch(17.4% 0.088 284.1);
Tailwind
colors: {
  custom: {
    50: '#52486c',
    500: '#0f0434',
    950: '#000000',
  },
}
SCSS
$custom: #0f0434;
$custom-light: #52486c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0434",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 253.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17362,
    "c": 0.08796,
    "h": 284.1
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#0F0434
secondary
#62761E
accent
#FC2CCC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0434

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

Preview Lab → · Contrast checker → · Palette generator →

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