#0F032E#0F032E

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

Color values

HEX#0F032E
RGBrgb(15, 3, 46)
HSLhsl(257, 88%, 10%)
HSVhsv(257, 93%, 18%)
CMYKcmyk(67.4%, 93.5%, 0%, 82%)
CIE-LABlab(3.29, 15.43, -24.46)
CIE-LCHlch(3.29, 28.92, 302.25°)
OKLaboklab(16.36% 0.0253 -0.0776)
OKLCHoklch(16.36% 0.082 288.1)
XYZxyz(0.7226, 0.3639, 2.6164)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F032E #222E03
analogous
#030D2E #0F032E #25032E
triadic
#0F032E #2E0F03 #032E0F
tetradic
#0F032E #2E030D #222E03 #032E25
square
#0F032E #2E030D #222E03 #032E25
split-complementary
#0F032E #2E2503 #0D2E03
monochromatic
#09021D #09021D #0F032E #220767 #340AA1

Accessibility & contrast

On white

19.57
#0F032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F032E
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F032E#FFFFFF#000000##FFFFFF
##0F032E1.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#030E18
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f032e;
/* rgb */ color: rgb(15, 3, 46);
/* oklch */ color: oklch(16.4% 0.082 288.1);
Tailwind
colors: {
  custom: {
    50: '#4f4767',
    500: '#0f032e',
    950: '#000000',
  },
}
SCSS
$custom: #0f032e;
$custom-light: #4f4767;
$custom-dark: #000000;
JSON
{
  "hex": "#0f032e",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 256.744,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16362,
    "c": 0.08159,
    "h": 288.1
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#0F032E
secondary
#5A721B
accent
#FE2AC3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F032E

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

Preview Lab → · Contrast checker → · Palette generator →

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