#0F033A#0F033A

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

Color values

HEX#0F033A
RGBrgb(15, 3, 58)
HSLhsl(253, 90%, 12%)
HSVhsv(253, 95%, 23%)
CMYKcmyk(74.1%, 94.8%, 0%, 77.3%)
CIE-LABlab(4.26, 21.96, -31.77)
CIE-LCHlch(4.26, 38.62, 304.65°)
OKLaboklab(17.95% 0.0199 -0.0957)
OKLCHoklch(17.95% 0.098 281.8)
XYZxyz(0.9930, 0.4721, 4.0410)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F033A #2E3A03
analogous
#03133A #0F033A #2B033A
triadic
#0F033A #3A0F03 #033A0F
tetradic
#0F033A #3A0313 #2E3A03 #033A2B
square
#0F033A #3A0313 #2E3A03 #033A2B
split-complementary
#0F033A #3A2B03 #133A03
monochromatic
#08021D #08021D #0F033A #1E0674 #2D09AE

Accessibility & contrast

On white

19.19
#0F033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F033A
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F033A#FFFFFF#000000##FFFFFF
##0F033A1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113B
Deuteranopia (green-blind)
#000D39
Tritanopia (blue-blind)
#00131F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f033a;
/* rgb */ color: rgb(15, 3, 58);
/* oklch */ color: oklch(17.9% 0.098 281.8);
Tailwind
colors: {
  custom: {
    50: '#544771',
    500: '#0f033a',
    950: '#000000',
  },
}
SCSS
$custom: #0f033a;
$custom-light: #544771;
$custom-dark: #000000;
JSON
{
  "hex": "#0f033a",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 253.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17947,
    "c": 0.09771,
    "h": 281.8
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#0F033A
secondary
#687D1C
accent
#FF29D0
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #0F033A

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

Preview Lab → · Contrast checker → · Palette generator →

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