#0F0028#0F0028

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

Color values

HEX#0F0028
RGBrgb(15, 0, 40)
HSLhsl(263, 100%, 8%)
HSVhsv(263, 100%, 16%)
CMYKcmyk(62.5%, 100%, 0%, 84.3%)
CIE-LABlab(2.30, 13.84, -21.44)
CIE-LCHlch(2.30, 25.52, 302.84°)
OKLaboklab(14.76% 0.034 -0.0737)
OKLCHoklch(14.76% 0.081 294.8)
XYZxyz(0.5799, 0.2547, 2.0257)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0028 #192800
analogous
#000528 #0F0028 #230028
triadic
#0F0028 #280F00 #00280F
tetradic
#0F0028 #280005 #192800 #002823
square
#0F0028 #280005 #192800 #002823
split-complementary
#0F0028 #282300 #052800
monochromatic
#0B001F #0B001F #0F0028 #260065 #3D00A2

Accessibility & contrast

On white

19.98
#0F0028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0028
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0028#FFFFFF#000000##FFFFFF
##0F00281.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000929
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#070913
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0f0028;
/* rgb */ color: rgb(15, 0, 40);
/* oklch */ color: oklch(14.8% 0.081 294.8);
Tailwind
colors: {
  custom: {
    50: '#4e4662',
    500: '#0f0028',
    950: '#000000',
  },
}
SCSS
$custom: #0f0028;
$custom-light: #4e4662;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0028",
  "rgb": {
    "r": 15,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14763,
    "c": 0.08118,
    "h": 294.8
  },
  "luminance": 0.00255
}

Semantic roles & 50–950 ramp

primary
#0F0028
secondary
#4D7014
accent
#FF29AF
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#020005
muted
#787779

Preview Lab

Preview with #0F0028

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

Preview Lab → · Contrast checker → · Palette generator →

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