#0F0132#0F0132

#0F0132 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.091 H 286.8°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0F0132
RGBrgb(15, 1, 50)
HSLhsl(257, 96%, 10%)
HSVhsv(257, 98%, 20%)
CMYKcmyk(70%, 98%, 0%, 80.4%)
CIE-LABlab(3.19, 18.33, -27.61)
CIE-LCHlch(3.19, 33.14, 303.58°)
OKLaboklab(16.41% 0.0263 -0.087)
OKLCHoklch(16.41% 0.091 286.8)
XYZxyz(0.7834, 0.3535, 3.0439)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0132 #243201
analogous
#010B32 #0F0132 #280132
triadic
#0F0132 #320F01 #01320F
tetradic
#0F0132 #32010B #243201 #013228
square
#0F0132 #32010B #243201 #013228
split-complementary
#0F0132 #322801 #0B3201
monochromatic
#09011E #09011E #0F0132 #21026E #3303AA

Accessibility & contrast

On white

19.61
#0F0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0132
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0132#FFFFFF#000000##FFFFFF
##0F01321.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000A31
Tritanopia (blue-blind)
#010F19
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f0132;
/* rgb */ color: rgb(15, 1, 50);
/* oklch */ color: oklch(16.4% 0.091 286.8);
Tailwind
colors: {
  custom: {
    50: '#51466a',
    500: '#0f0132',
    950: '#000000',
  },
}
SCSS
$custom: #0f0132;
$custom-light: #51466a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0132",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 257.143,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.16406,
    "c": 0.09092,
    "h": 286.8
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#0F0132
secondary
#5C7717
accent
#FF29C2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0132

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

Preview Lab → · Contrast checker → · Palette generator →

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