#0F022B#0F022B

#0F022B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.080 H 290.8°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0F022B
RGBrgb(15, 2, 43)
HSLhsl(259, 91%, 9%)
HSVhsv(259, 95%, 17%)
CMYKcmyk(65.1%, 95.3%, 0%, 83.1%)
CIE-LABlab(2.89, 14.38, -22.82)
CIE-LCHlch(2.89, 26.98, 302.21°)
OKLaboklab(15.72% 0.0283 -0.0746)
OKLCHoklch(15.72% 0.08 290.8)
XYZxyz(0.6546, 0.3194, 2.3122)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F022B #1E2B02
analogous
#020A2B #0F022B #24022B
triadic
#0F022B #2B0F02 #022B0F
tetradic
#0F022B #2B020A #1E2B02 #022B24
square
#0F022B #2B020A #1E2B02 #022B24
split-complementary
#0F022B #2B2402 #0A2B02
monochromatic
#0A011D #0A011D #0F022B #230565 #3807A0

Accessibility & contrast

On white

19.74
#0F022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0F022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F022B
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F022B#FFFFFF#000000##FFFFFF
##0F022B1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f022b;
/* rgb */ color: rgb(15, 2, 43);
/* oklch */ color: oklch(15.7% 0.080 290.8);
Tailwind
colors: {
  custom: {
    50: '#4f4764',
    500: '#0f022b',
    950: '#000000',
  },
}
SCSS
$custom: #0f022b;
$custom-light: #4f4764;
$custom-dark: #000000;
JSON
{
  "hex": "#0f022b",
  "rgb": {
    "r": 15,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 259.024,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15723,
    "c": 0.07976,
    "h": 290.8
  },
  "luminance": 0.00319
}

Semantic roles & 50–950 ramp

primary
#0F022B
secondary
#547019
accent
#FF29BB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0F022B

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

Preview Lab → · Contrast checker → · Palette generator →

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