#0F0832#0F0832

#0F0832 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.078 H 282.8°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#0F0832
RGBrgb(15, 8, 50)
HSLhsl(250, 72%, 11%)
HSVhsv(250, 84%, 20%)
CMYKcmyk(70%, 84%, 0%, 80.4%)
CIE-LABlab(4.57, 15.52, -25.41)
CIE-LCHlch(4.57, 29.77, 301.41°)
OKLaboklab(17.96% 0.0174 -0.0765)
OKLCHoklch(17.96% 0.078 282.8)
XYZxyz(0.8594, 0.5055, 3.0693)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0832 #2B3208
analogous
#081632 #0F0832 #240832
triadic
#0F0832 #320F08 #08320F
tetradic
#0F0832 #320816 #2B3208 #083224
square
#0F0832 #320816 #2B3208 #083224
split-complementary
#0F0832 #322408 #163208
monochromatic
#08041A #08041A #0F0832 #1F1067 #2F199C

Accessibility & contrast

On white

19.07
#0F0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0832
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0832#FFFFFF#000000##FFFFFF
##0F08321.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0832;
/* rgb */ color: rgb(15, 8, 50);
/* oklch */ color: oklch(18.0% 0.078 282.8);
Tailwind
colors: {
  custom: {
    50: '#514a6a',
    500: '#0f0832',
    950: '#000000',
  },
}
SCSS
$custom: #0f0832;
$custom-light: #514a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0832",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 250,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17958,
    "c": 0.07842,
    "h": 282.8
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#0F0832
secondary
#647125
accent
#EF39D1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0832

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

Preview Lab → · Contrast checker → · Palette generator →

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