#0F032D#0F032D

#0F032D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.080 H 288.7°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#0F032D
RGBrgb(15, 3, 45)
HSLhsl(257, 88%, 9%)
HSVhsv(257, 93%, 18%)
CMYKcmyk(66.7%, 93.3%, 0%, 82.4%)
CIE-LABlab(3.22, 14.94, -23.82)
CIE-LCHlch(3.22, 28.11, 302.09°)
OKLaboklab(16.24% 0.0257 -0.076)
OKLCHoklch(16.24% 0.08 288.7)
XYZxyz(0.7031, 0.3561, 2.5138)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F032D #212D03
analogous
#030C2D #0F032D #24032D
triadic
#0F032D #2D0F03 #032D0F
tetradic
#0F032D #2D030C #212D03 #032D24
square
#0F032D #2D030C #212D03 #032D24
split-complementary
#0F032D #2D2403 #0C2D03
monochromatic
#0A021D #0A021D #0F032D #220766 #350BA0

Accessibility & contrast

On white

19.60
#0F032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0F032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F032D
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F032D#FFFFFF#000000##FFFFFF
##0F032D1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#040E17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f032d;
/* rgb */ color: rgb(15, 3, 45);
/* oklch */ color: oklch(16.2% 0.080 288.7);
Tailwind
colors: {
  custom: {
    50: '#4f4766',
    500: '#0f032d',
    950: '#000000',
  },
}
SCSS
$custom: #0f032d;
$custom-light: #4f4766;
$custom-dark: #000000;
JSON
{
  "hex": "#0f032d",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 257.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16235,
    "c": 0.08022,
    "h": 288.7
  },
  "luminance": 0.00356
}

Semantic roles & 50–950 ramp

primary
#0F032D
secondary
#58711B
accent
#FE2AC1
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F032D

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

Preview Lab → · Contrast checker → · Palette generator →

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