#0F0831#0F0831

#0F0831 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.077 H 283.3°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#0F0831
RGBrgb(15, 8, 49)
HSLhsl(250, 72%, 11%)
HSVhsv(250, 84%, 19%)
CMYKcmyk(69.4%, 83.7%, 0%, 80.8%)
CIE-LABlab(4.49, 14.98, -24.79)
CIE-LCHlch(4.49, 28.97, 301.14°)
OKLaboklab(17.84% 0.0177 -0.0748)
OKLCHoklch(17.84% 0.077 283.3)
XYZxyz(0.8380, 0.4969, 2.9569)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0831 #2A3108
analogous
#081531 #0F0831 #230831
triadic
#0F0831 #310F08 #08310F
tetradic
#0F0831 #310815 #2A3108 #083123
square
#0F0831 #310815 #2A3108 #083123
split-complementary
#0F0831 #312308 #153108
monochromatic
#08041A #08041A #0F0831 #1F1166 #2F199A

Accessibility & contrast

On white

19.10
#0F0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0831
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0831#FFFFFF#000000##FFFFFF
##0F08311.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#01131B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0831;
/* rgb */ color: rgb(15, 8, 49);
/* oklch */ color: oklch(17.8% 0.077 283.3);
Tailwind
colors: {
  custom: {
    50: '#514a69',
    500: '#0f0831',
    950: '#000000',
  },
}
SCSS
$custom: #0f0831;
$custom-light: #514a69;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0831",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 250.244,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17843,
    "c": 0.07688,
    "h": 283.3
  },
  "luminance": 0.00497
}

Semantic roles & 50–950 ramp

primary
#0F0831
secondary
#637025
accent
#EF39D0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0831

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

Preview Lab → · Contrast checker → · Palette generator →

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