#0F0136#0F0136

#0F0136 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.096 H 284.5°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#0F0136
RGBrgb(15, 1, 54)
HSLhsl(256, 96%, 11%)
HSVhsv(256, 98%, 21%)
CMYKcmyk(72.2%, 98.1%, 0%, 78.8%)
CIE-LABlab(3.52, 20.60, -30.05)
CIE-LCHlch(3.52, 36.43, 304.43°)
OKLaboklab(16.96% 0.024 -0.0929)
OKLCHoklch(16.96% 0.096 284.5)
XYZxyz(0.8735, 0.3895, 3.5185)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0136 #283601
analogous
#010D36 #0F0136 #290136
triadic
#0F0136 #360F01 #01360F
tetradic
#0F0136 #36010D #283601 #013629
square
#0F0136 #36010D #283601 #013629
split-complementary
#0F0136 #362901 #0D3601
monochromatic
#08011E #08011E #0F0136 #200272 #3003AE

Accessibility & contrast

On white

19.48
#0F0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0F0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0136
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0136#FFFFFF#000000##FFFFFF
##0F01361.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000B35
Tritanopia (blue-blind)
#00101C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0f0136;
/* rgb */ color: rgb(15, 1, 54);
/* oklch */ color: oklch(17.0% 0.096 284.5);
Tailwind
colors: {
  custom: {
    50: '#52466e',
    500: '#0f0136',
    950: '#000000',
  },
}
SCSS
$custom: #0f0136;
$custom-light: #52466e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0136",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 255.849,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16964,
    "c": 0.09593,
    "h": 284.5
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#0F0136
secondary
#617B18
accent
#FF29C6
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0136

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

Preview Lab → · Contrast checker → · Palette generator →

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