#0F032C#0F032C

#0F032C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.079 H 289.4°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#0F032C
RGBrgb(15, 3, 44)
HSLhsl(258, 87%, 9%)
HSVhsv(258, 93%, 17%)
CMYKcmyk(65.9%, 93.2%, 0%, 82.7%)
CIE-LABlab(3.15, 14.45, -23.17)
CIE-LCHlch(3.15, 27.31, 301.96°)
OKLaboklab(16.11% 0.0262 -0.0744)
OKLCHoklch(16.11% 0.079 289.4)
XYZxyz(0.6841, 0.3485, 2.4136)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F032C #202C03
analogous
#030C2C #0F032C #24032C
triadic
#0F032C #2C0F03 #032C0F
tetradic
#0F032C #2C030C #202C03 #032C24
square
#0F032C #2C030C #202C03 #032C24
split-complementary
#0F032C #2C2403 #0C2C03
monochromatic
#0A021D #0A021D #0F032C #230765 #360B9F

Accessibility & contrast

On white

19.63
#0F032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F032C
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F032C#FFFFFF#000000##FFFFFF
##0F032C1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#000A2B
Tritanopia (blue-blind)
#050D17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0f032c;
/* rgb */ color: rgb(15, 3, 44);
/* oklch */ color: oklch(16.1% 0.079 289.4);
Tailwind
colors: {
  custom: {
    50: '#4f4865',
    500: '#0f032c',
    950: '#000000',
  },
}
SCSS
$custom: #0f032c;
$custom-light: #4f4865;
$custom-dark: #000000;
JSON
{
  "hex": "#0f032c",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 257.561,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16109,
    "c": 0.07885,
    "h": 289.4
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#0F032C
secondary
#57701B
accent
#FD2AC0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0F032C

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

Preview Lab → · Contrast checker → · Palette generator →

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