#0F0732#0F0732

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

Color values

HEX#0F0732
RGBrgb(15, 7, 50)
HSLhsl(251, 75%, 11%)
HSVhsv(251, 86%, 20%)
CMYKcmyk(70%, 86%, 0%, 80.4%)
CIE-LABlab(4.37, 15.92, -25.72)
CIE-LCHlch(4.37, 30.25, 301.75°)
OKLaboklab(17.75% 0.0186 -0.0778)
OKLCHoklch(17.75% 0.08 283.4)
XYZxyz(0.8485, 0.4838, 3.0657)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0732 #2A3207
analogous
#071432 #0F0732 #240732
triadic
#0F0732 #320F07 #07320F
tetradic
#0F0732 #320714 #2A3207 #073224
square
#0F0732 #320714 #2A3207 #073224
split-complementary
#0F0732 #322407 #143207
monochromatic
#08041B #08041B #0F0732 #1F0F68 #2F169D

Accessibility & contrast

On white

19.15
#0F0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0732
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0732#FFFFFF#000000##FFFFFF
##0F07321.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0732;
/* rgb */ color: rgb(15, 7, 50);
/* oklch */ color: oklch(17.8% 0.080 283.4);
Tailwind
colors: {
  custom: {
    50: '#51496a',
    500: '#0f0732',
    950: '#000000',
  },
}
SCSS
$custom: #0f0732;
$custom-light: #51496a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0732",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 251.163,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17753,
    "c": 0.08003,
    "h": 283.4
  },
  "luminance": 0.00484
}

Semantic roles & 50–950 ramp

primary
#0F0732
secondary
#637223
accent
#F236CF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0732

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

Preview Lab → · Contrast checker → · Palette generator →

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