#0F0438#0F0438

#0F0438 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.093 H 282.2°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#0F0438
RGBrgb(15, 4, 56)
HSLhsl(253, 87%, 12%)
HSVhsv(253, 93%, 22%)
CMYKcmyk(73.2%, 92.9%, 0%, 78%)
CIE-LABlab(4.28, 20.44, -30.29)
CIE-LCHlch(4.28, 36.54, 304.02°)
OKLaboklab(17.88% 0.0198 -0.0913)
OKLCHoklch(17.88% 0.093 282.2)
XYZxyz(0.9540, 0.4738, 3.7818)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0438 #2D3804
analogous
#041338 #0F0438 #290438
triadic
#0F0438 #380F04 #04380F
tetradic
#0F0438 #380413 #2D3804 #043829
square
#0F0438 #380413 #2D3804 #043829
split-complementary
#0F0438 #382904 #133804
monochromatic
#08021D #08021D #0F0438 #1E0871 #2E0CAA

Accessibility & contrast

On white

19.18
#0F0438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0438
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0438#FFFFFF#000000##FFFFFF
##0F04381.0019.181.0919.18
#FFFFFF19.181.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0438;
/* rgb */ color: rgb(15, 4, 56);
/* oklch */ color: oklch(17.9% 0.093 282.2);
Tailwind
colors: {
  custom: {
    50: '#53476f',
    500: '#0f0438',
    950: '#000000',
  },
}
SCSS
$custom: #0f0438;
$custom-light: #53476f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0438",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 252.692,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17883,
    "c": 0.09345,
    "h": 282.2
  },
  "luminance": 0.00474
}

Semantic roles & 50–950 ramp

primary
#0F0438
secondary
#667A1E
accent
#FD2BD0
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0438

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

Preview Lab → · Contrast checker → · Palette generator →

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