#0F0125#0F0125

#0F0125 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.7% C 0.075 H 296.6°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#0F0125
RGBrgb(15, 1, 37)
HSLhsl(263, 95%, 7%)
HSVhsv(263, 97%, 15%)
CMYKcmyk(59.5%, 97.3%, 0%, 85.5%)
CIE-LABlab(2.32, 12.19, -19.09)
CIE-LCHlch(2.32, 22.65, 302.57°)
OKLaboklab(14.67% 0.0334 -0.0668)
OKLCHoklch(14.67% 0.075 296.6)
XYZxyz(0.5417, 0.2568, 1.7709)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0125 #172501
analogous
#010525 #0F0125 #210125
triadic
#0F0125 #250F01 #01250F
tetradic
#0F0125 #250105 #172501 #012521
square
#0F0125 #250105 #172501 #012521
split-complementary
#0F0125 #252101 #052501
monochromatic
#0C011E #0C011E #0F0125 #270361 #3F049C

Accessibility & contrast

On white

19.97
#0F0125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0125
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0125#FFFFFF#000000##FFFFFF
##0F01251.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000926
Deuteranopia (green-blind)
#000824
Tritanopia (blue-blind)
#090912
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0f0125;
/* rgb */ color: rgb(15, 1, 37);
/* oklch */ color: oklch(14.7% 0.075 296.6);
Tailwind
colors: {
  custom: {
    50: '#4e475f',
    500: '#0f0125',
    950: '#000000',
  },
}
SCSS
$custom: #0f0125;
$custom-light: #4e475f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0125",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 263.333,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.14671,
    "c": 0.07468,
    "h": 296.6
  },
  "luminance": 0.00257
}

Semantic roles & 50–950 ramp

primary
#0F0125
secondary
#4A6C16
accent
#FF29AC
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0F0125

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

Preview Lab → · Contrast checker → · Palette generator →

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