#0F032F#0F032F

#0F032F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.083 H 287.4°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#0F032F
RGBrgb(15, 3, 47)
HSLhsl(256, 88%, 10%)
HSVhsv(256, 94%, 18%)
CMYKcmyk(68.1%, 93.6%, 0%, 81.6%)
CIE-LABlab(3.36, 15.94, -25.10)
CIE-LCHlch(3.36, 29.73, 302.41°)
OKLaboklab(16.49% 0.0249 -0.0791)
OKLCHoklch(16.49% 0.083 287.4)
XYZxyz(0.7425, 0.3719, 2.7214)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F032F #232F03
analogous
#030D2F #0F032F #25032F
triadic
#0F032F #2F0F03 #032F0F
tetradic
#0F032F #2F030D #232F03 #032F25
square
#0F032F #2F030D #232F03 #032F25
split-complementary
#0F032F #2F2503 #0D2F03
monochromatic
#09021D #09021D #0F032F #210769 #340AA2

Accessibility & contrast

On white

19.55
#0F032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F032F
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F032F#FFFFFF#000000##FFFFFF
##0F032F1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#030F18
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f032f;
/* rgb */ color: rgb(15, 3, 47);
/* oklch */ color: oklch(16.5% 0.083 287.4);
Tailwind
colors: {
  custom: {
    50: '#504768',
    500: '#0f032f',
    950: '#000000',
  },
}
SCSS
$custom: #0f032f;
$custom-light: #504768;
$custom-dark: #000000;
JSON
{
  "hex": "#0f032f",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 256.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1649,
    "c": 0.08295,
    "h": 287.4
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#0F032F
secondary
#5B731B
accent
#FE2AC4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F032F

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

Preview Lab → · Contrast checker → · Palette generator →

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