#0F082E#0F082E

#0F082E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.072 H 284.7°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#0F082E
RGBrgb(15, 8, 46)
HSLhsl(251, 70%, 11%)
HSVhsv(251, 83%, 18%)
CMYKcmyk(67.4%, 82.6%, 0%, 82%)
CIE-LABlab(4.27, 13.43, -22.90)
CIE-LCHlch(4.27, 26.55, 300.38°)
OKLaboklab(17.51% 0.0183 -0.0698)
OKLCHoklch(17.51% 0.072 284.7)
XYZxyz(0.7768, 0.4724, 2.6345)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F082E #272E08
analogous
#08142E #0F082E #22082E
triadic
#0F082E #2E0F08 #082E0F
tetradic
#0F082E #2E0814 #272E08 #082E22
square
#0F082E #2E0814 #272E08 #082E22
split-complementary
#0F082E #2E2208 #142E08
monochromatic
#09051A #09051A #0F082E #201162 #311A96

Accessibility & contrast

On white

19.19
#0F082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0F082E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F082E
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F082E#FFFFFF#000000##FFFFFF
##0F082E1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#031219
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f082e;
/* rgb */ color: rgb(15, 8, 46);
/* oklch */ color: oklch(17.5% 0.072 284.7);
Tailwind
colors: {
  custom: {
    50: '#504a67',
    500: '#0f082e',
    950: '#000000',
  },
}
SCSS
$custom: #0f082e;
$custom-light: #504a67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f082e",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 251.053,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17505,
    "c": 0.0722,
    "h": 284.7
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#0F082E
secondary
#606D25
accent
#ED3BCC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F082E

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

Preview Lab → · Contrast checker → · Palette generator →

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