#0F0131#0F0131

#0F0131 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.3% C 0.090 H 287.4°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#0F0131
RGBrgb(15, 1, 49)
HSLhsl(258, 96%, 10%)
HSVhsv(258, 98%, 19%)
CMYKcmyk(69.4%, 98%, 0%, 80.8%)
CIE-LABlab(3.12, 17.79, -26.98)
CIE-LCHlch(3.12, 32.32, 303.39°)
OKLaboklab(16.27% 0.0268 -0.0856)
OKLCHoklch(16.27% 0.09 287.4)
XYZxyz(0.7621, 0.3450, 2.9316)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0131 #233101
analogous
#010B31 #0F0131 #270131
triadic
#0F0131 #310F01 #01310F
tetradic
#0F0131 #31010B #233101 #013127
square
#0F0131 #31010B #233101 #013127
split-complementary
#0F0131 #312701 #0B3101
monochromatic
#09011E #09011E #0F0131 #21026D #3403A9

Accessibility & contrast

On white

19.64
#0F0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0F0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0131
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0131#FFFFFF#000000##FFFFFF
##0F01311.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#020E19
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0f0131;
/* rgb */ color: rgb(15, 1, 49);
/* oklch */ color: oklch(16.3% 0.090 287.4);
Tailwind
colors: {
  custom: {
    50: '#504669',
    500: '#0f0131',
    950: '#000000',
  },
}
SCSS
$custom: #0f0131;
$custom-light: #504669;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0131",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 257.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16268,
    "c": 0.08967,
    "h": 287.4
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#0F0131
secondary
#5B7717
accent
#FF29C1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0131

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

Preview Lab → · Contrast checker → · Palette generator →

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