#0F063A#0F063A

#0F063A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.093 H 280.6°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#0F063A
RGBrgb(15, 6, 58)
HSLhsl(250, 81%, 13%)
HSVhsv(250, 90%, 23%)
CMYKcmyk(74.1%, 89.7%, 0%, 77.3%)
CIE-LABlab(4.85, 20.61, -30.82)
CIE-LCHlch(4.85, 37.07, 303.77°)
OKLaboklab(18.54% 0.0171 -0.0916)
OKLCHoklch(18.54% 0.093 280.6)
XYZxyz(1.0256, 0.5372, 4.0518)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F063A #313A06
analogous
#06173A #0F063A #29063A
triadic
#0F063A #3A0F06 #063A0F
tetradic
#0F063A #3A0617 #313A06 #063A29
square
#0F063A #3A0617 #313A06 #063A29
split-complementary
#0F063A #3A2906 #173A06
monochromatic
#07031C #07031C #0F063A #1D0C71 #2C11A9

Accessibility & contrast

On white

18.96
#0F063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F063A
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F063A#FFFFFF#000000##FFFFFF
##0F063A1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#000E39
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f063a;
/* rgb */ color: rgb(15, 6, 58);
/* oklch */ color: oklch(18.5% 0.093 280.6);
Tailwind
colors: {
  custom: {
    50: '#544871',
    500: '#0f063a',
    950: '#000000',
  },
}
SCSS
$custom: #0f063a;
$custom-light: #544871;
$custom-dark: #000000;
JSON
{
  "hex": "#0f063a",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 250.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18537,
    "c": 0.09321,
    "h": 280.6
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#0F063A
secondary
#6B7A22
accent
#F830D5
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F063A

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

Preview Lab → · Contrast checker → · Palette generator →

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