#0F062B#0F062B

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

Color values

HEX#0F062B
RGBrgb(15, 6, 43)
HSLhsl(255, 76%, 10%)
HSVhsv(255, 86%, 17%)
CMYKcmyk(65.1%, 86%, 0%, 83.1%)
CIE-LABlab(3.67, 12.78, -21.59)
CIE-LCHlch(3.67, 25.09, 300.62°)
OKLaboklab(16.72% 0.0218 -0.0678)
OKLCHoklch(16.72% 0.071 287.8)
XYZxyz(0.6980, 0.4062, 2.3267)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F062B #222B06
analogous
#06102B #0F062B #22062B
triadic
#0F062B #2B0F06 #062B0F
tetradic
#0F062B #2B0610 #222B06 #062B22
square
#0F062B #2B0610 #222B06 #062B22
split-complementary
#0F062B #2B2206 #102B06
monochromatic
#09041B #09041B #0F062B #220D61 #341596

Accessibility & contrast

On white

19.42
#0F062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0F062B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F062B
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F062B#FFFFFF#000000##FFFFFF
##0F062B1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#050F17
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0f062b;
/* rgb */ color: rgb(15, 6, 43);
/* oklch */ color: oklch(16.7% 0.071 287.8);
Tailwind
colors: {
  custom: {
    50: '#4f4964',
    500: '#0f062b',
    950: '#000000',
  },
}
SCSS
$custom: #0f062b;
$custom-light: #4f4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0f062b",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 254.595,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1672,
    "c": 0.07119,
    "h": 287.8
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#0F062B
secondary
#5A6C21
accent
#F236C4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #0F062B

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

Preview Lab → · Contrast checker → · Palette generator →

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