#0F0127#0F0127

#0F0127 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.9% C 0.077 H 294.8°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#0F0127
RGBrgb(15, 1, 39)
HSLhsl(262, 95%, 8%)
HSVhsv(262, 97%, 15%)
CMYKcmyk(61.5%, 97.4%, 0%, 84.7%)
CIE-LABlab(2.44, 13.01, -20.46)
CIE-LCHlch(2.44, 24.25, 302.46°)
OKLaboklab(14.93% 0.0324 -0.0701)
OKLCHoklch(14.93% 0.077 294.8)
XYZxyz(0.5740, 0.2697, 1.9409)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0127 #192701
analogous
#010627 #0F0127 #220127
triadic
#0F0127 #270F01 #01270F
tetradic
#0F0127 #270106 #192701 #012722
square
#0F0127 #270106 #192701 #012722
split-complementary
#0F0127 #272201 #062701
monochromatic
#0B011E #0B011E #0F0127 #260363 #3D049E

Accessibility & contrast

On white

19.92
#0F0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0F0127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0127
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0127#FFFFFF#000000##FFFFFF
##0F01271.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000826
Tritanopia (blue-blind)
#080A13
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0f0127;
/* rgb */ color: rgb(15, 1, 39);
/* oklch */ color: oklch(14.9% 0.077 294.8);
Tailwind
colors: {
  custom: {
    50: '#4e4761',
    500: '#0f0127',
    950: '#000000',
  },
}
SCSS
$custom: #0f0127;
$custom-light: #4e4761;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0127",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 262.105,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14928,
    "c": 0.07717,
    "h": 294.8
  },
  "luminance": 0.0027
}

Semantic roles & 50–950 ramp

primary
#0F0127
secondary
#4D6E16
accent
#FF29B0
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020005
muted
#787779

Preview Lab

Preview with #0F0127

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

Preview Lab → · Contrast checker → · Palette generator →

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