#0F0129#0F0129

#0F0129 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.080 H 293.1°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#0F0129
RGBrgb(15, 1, 41)
HSLhsl(261, 95%, 8%)
HSVhsv(261, 98%, 16%)
CMYKcmyk(63.4%, 97.6%, 0%, 83.9%)
CIE-LABlab(2.56, 13.88, -21.81)
CIE-LCHlch(2.56, 25.85, 302.47°)
OKLaboklab(15.19% 0.0313 -0.0733)
OKLCHoklch(15.19% 0.08 293.1)
XYZxyz(0.6080, 0.2833, 2.1200)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0129 #1B2901
analogous
#010729 #0F0129 #230129
triadic
#0F0129 #290F01 #01290F
tetradic
#0F0129 #290107 #1B2901 #012923
square
#0F0129 #290107 #1B2901 #012923
split-complementary
#0F0129 #292301 #072901
monochromatic
#0B011E #0B011E #0F0129 #250265 #3B04A0

Accessibility & contrast

On white

19.88
#0F0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0F0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0129
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0129#FFFFFF#000000##FFFFFF
##0F01291.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2A
Deuteranopia (green-blind)
#000928
Tritanopia (blue-blind)
#070A14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0f0129;
/* rgb */ color: rgb(15, 1, 41);
/* oklch */ color: oklch(15.2% 0.080 293.1);
Tailwind
colors: {
  custom: {
    50: '#4e4763',
    500: '#0f0129',
    950: '#000000',
  },
}
SCSS
$custom: #0f0129;
$custom-light: #4e4763;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0129",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 261,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.15189,
    "c": 0.07966,
    "h": 293.1
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

primary
#0F0129
secondary
#506F16
accent
#FF29B4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#020005
muted
#787779

Preview Lab

Preview with #0F0129

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

Preview Lab → · Contrast checker → · Palette generator →

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