#0F032B#0F032B

#0F032B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.077 H 290.1°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0F032B
RGBrgb(15, 3, 43)
HSLhsl(258, 87%, 9%)
HSVhsv(258, 93%, 17%)
CMYKcmyk(65.1%, 93%, 0%, 83.1%)
CIE-LABlab(3.08, 13.98, -22.51)
CIE-LCHlch(3.08, 26.50, 301.84°)
OKLaboklab(15.98% 0.0266 -0.0728)
OKLCHoklch(15.98% 0.077 290.1)
XYZxyz(0.6655, 0.3411, 2.3158)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F032B #1F2B03
analogous
#030B2B #0F032B #23032B
triadic
#0F032B #2B0F03 #032B0F
tetradic
#0F032B #2B030B #1F2B03 #032B23
square
#0F032B #2B030B #1F2B03 #032B23
split-complementary
#0F032B #2B2303 #0B2B03
monochromatic
#0A021D #0A021D #0F032B #230764 #370B9D

Accessibility & contrast

On white

19.66
#0F032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F032B
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F032B#FFFFFF#000000##FFFFFF
##0F032B1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#050D16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0f032b;
/* rgb */ color: rgb(15, 3, 43);
/* oklch */ color: oklch(16.0% 0.077 290.1);
Tailwind
colors: {
  custom: {
    50: '#4f4864',
    500: '#0f032b',
    950: '#000000',
  },
}
SCSS
$custom: #0f032b;
$custom-light: #4f4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0f032b",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 258,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15984,
    "c": 0.07747,
    "h": 290.1
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#0F032B
secondary
#566F1B
accent
#FD2BBE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0F032B

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

Preview Lab → · Contrast checker → · Palette generator →

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