#0F0430#0F0430

#0F0430 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.082 H 286.2°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#0F0430
RGBrgb(15, 4, 48)
HSLhsl(255, 85%, 10%)
HSVhsv(255, 92%, 19%)
CMYKcmyk(68.7%, 91.7%, 0%, 81.2%)
CIE-LABlab(3.63, 16.06, -25.42)
CIE-LCHlch(3.63, 30.07, 302.28°)
OKLaboklab(16.85% 0.023 -0.0791)
OKLCHoklch(16.85% 0.082 286.2)
XYZxyz(0.7738, 0.4017, 2.8325)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0430 #253004
analogous
#040F30 #0F0430 #250430
triadic
#0F0430 #300F04 #04300F
tetradic
#0F0430 #30040F #253004 #043025
square
#0F0430 #30040F #253004 #043025
split-complementary
#0F0430 #302504 #0F3004
monochromatic
#09021C #09021C #0F0430 #210968 #320DA1

Accessibility & contrast

On white

19.44
#0F0430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0F0430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0430
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0430#FFFFFF#000000##FFFFFF
##0F04301.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#021019
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0f0430;
/* rgb */ color: rgb(15, 4, 48);
/* oklch */ color: oklch(16.9% 0.082 286.2);
Tailwind
colors: {
  custom: {
    50: '#504869',
    500: '#0f0430',
    950: '#000000',
  },
}
SCSS
$custom: #0f0430;
$custom-light: #504869;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0430",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 255,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16853,
    "c": 0.08238,
    "h": 286.2
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#0F0430
secondary
#5D721D
accent
#FB2DC7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0430

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

Preview Lab → · Contrast checker → · Palette generator →

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