#0F0023#0F0023

#0F0023 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.1% C 0.075 H 299.5°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#0F0023
RGBrgb(15, 0, 35)
HSLhsl(266, 100%, 7%)
HSVhsv(266, 100%, 14%)
CMYKcmyk(57.1%, 100%, 0%, 86.3%)
CIE-LABlab(2.01, 11.82, -17.99)
CIE-LCHlch(2.01, 21.53, 303.29°)
OKLaboklab(14.1% 0.0372 -0.0657)
OKLCHoklch(14.1% 0.075 299.5)
XYZxyz(0.5003, 0.2229, 1.6064)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0023 #142300
analogous
#000323 #0F0023 #210023
triadic
#0F0023 #230F00 #00230F
tetradic
#0F0023 #230003 #142300 #002321
square
#0F0023 #230003 #142300 #002321
split-complementary
#0F0023 #232100 #032300
monochromatic
#0D001F #0D001F #0F0023 #290060 #43009D

Accessibility & contrast

On white

20.10
#0F0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0F0023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0023
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0023#FFFFFF#000000##FFFFFF
##0F00231.0020.101.0420.10
#FFFFFF20.101.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000724
Deuteranopia (green-blind)
#000722
Tritanopia (blue-blind)
#0A0710
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0f0023;
/* rgb */ color: rgb(15, 0, 35);
/* oklch */ color: oklch(14.1% 0.075 299.5);
Tailwind
colors: {
  custom: {
    50: '#4d465e',
    500: '#0f0023',
    950: '#000000',
  },
}
SCSS
$custom: #0f0023;
$custom-light: #4d465e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0023",
  "rgb": {
    "r": 15,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.14096,
    "c": 0.07546,
    "h": 299.5
  },
  "luminance": 0.00223
}

Semantic roles & 50–950 ramp

primary
#0F0023
secondary
#466C13
accent
#FF29A3
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0F0023

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

Preview Lab → · Contrast checker → · Palette generator →

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