#0F0134#0F0134

#0F0134 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.093 H 285.6°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#0F0134
RGBrgb(15, 1, 52)
HSLhsl(256, 96%, 10%)
HSVhsv(256, 98%, 20%)
CMYKcmyk(71.2%, 98.1%, 0%, 79.6%)
CIE-LABlab(3.35, 19.45, -28.84)
CIE-LCHlch(3.35, 34.79, 303.99°)
OKLaboklab(16.68% 0.0252 -0.09)
OKLCHoklch(16.68% 0.093 285.6)
XYZxyz(0.8275, 0.3711, 3.2762)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0134 #263401
analogous
#010C34 #0F0134 #280134
triadic
#0F0134 #340F01 #01340F
tetradic
#0F0134 #34010C #263401 #013428
square
#0F0134 #34010C #263401 #013428
split-complementary
#0F0134 #342801 #0C3401
monochromatic
#09011E #09011E #0F0134 #200270 #3203AC

Accessibility & contrast

On white

19.55
#0F0134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0134
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0134#FFFFFF#000000##FFFFFF
##0F01341.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D35
Deuteranopia (green-blind)
#000A33
Tritanopia (blue-blind)
#000F1B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0f0134;
/* rgb */ color: rgb(15, 1, 52);
/* oklch */ color: oklch(16.7% 0.093 285.6);
Tailwind
colors: {
  custom: {
    50: '#51466c',
    500: '#0f0134',
    950: '#000000',
  },
}
SCSS
$custom: #0f0134;
$custom-light: #51466c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0134",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 256.471,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16684,
    "c": 0.09343,
    "h": 285.6
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#0F0134
secondary
#5E7918
accent
#FF29C4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0134

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

Preview Lab → · Contrast checker → · Palette generator →

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