#0F002B#0F002B

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

Color values

HEX#0F002B
RGBrgb(15, 0, 43)
HSLhsl(261, 100%, 8%)
HSVhsv(261, 100%, 17%)
CMYKcmyk(65.1%, 100%, 0%, 83.1%)
CIE-LABlab(2.49, 15.18, -23.44)
CIE-LCHlch(2.49, 27.93, 302.93°)
OKLaboklab(15.17% 0.0321 -0.0784)
OKLCHoklch(15.17% 0.085 292.3)
XYZxyz(0.6329, 0.2760, 2.3049)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F002B #1C2B00
analogous
#00062B #0F002B #24002B
triadic
#0F002B #2B0F00 #002B0F
tetradic
#0F002B #2B0006 #1C2B00 #002B24
square
#0F002B #2B0006 #1C2B00 #002B24
split-complementary
#0F002B #2B2400 #062B00
monochromatic
#0B001F #0B001F #0F002B #240068 #3A00A5

Accessibility & contrast

On white

19.90
#0F002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F002B
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F002B#FFFFFF#000000##FFFFFF
##0F002B1.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2C
Deuteranopia (green-blind)
#00082A
Tritanopia (blue-blind)
#060B15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0f002b;
/* rgb */ color: rgb(15, 0, 43);
/* oklch */ color: oklch(15.2% 0.085 292.3);
Tailwind
colors: {
  custom: {
    50: '#4f4664',
    500: '#0f002b',
    950: '#000000',
  },
}
SCSS
$custom: #0f002b;
$custom-light: #4f4664;
$custom-dark: #000000;
JSON
{
  "hex": "#0f002b",
  "rgb": {
    "r": 15,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 260.93,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15174,
    "c": 0.08469,
    "h": 292.3
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#0F002B
secondary
#527314
accent
#FF29B4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0F002B

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

Preview Lab → · Contrast checker → · Palette generator →

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