#0F053F#0F053F

#0F053F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.102 H 279.1°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#0F053F
RGBrgb(15, 5, 63)
HSLhsl(250, 85%, 13%)
HSVhsv(250, 92%, 25%)
CMYKcmyk(76.2%, 92.1%, 0%, 75.3%)
CIE-LABlab(5.14, 23.61, -33.96)
CIE-LCHlch(5.14, 41.36, 304.81°)
OKLaboklab(19% 0.0161 -0.1002)
OKLCHoklch(19% 0.102 279.1)
XYZxyz(1.1482, 0.5689, 4.7510)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F053F #353F05
analogous
#05183F #0F053F #2C053F
triadic
#0F053F #3F0F05 #053F0F
tetradic
#0F053F #3F0518 #353F05 #053F2C
square
#0F053F #3F0518 #353F05 #053F2C
split-complementary
#0F053F #3F2C05 #183F05
monochromatic
#07021C #07021C #0F053F #1C0978 #2A0EB0

Accessibility & contrast

On white

18.85
#0F053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F053F
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F053F#FFFFFF#000000##FFFFFF
##0F053F1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f053f;
/* rgb */ color: rgb(15, 5, 63);
/* oklch */ color: oklch(19.0% 0.102 279.1);
Tailwind
colors: {
  custom: {
    50: '#564875',
    500: '#0f053f',
    950: '#000000',
  },
}
SCSS
$custom: #0f053f;
$custom-light: #564875;
$custom-dark: #000000;
JSON
{
  "hex": "#0f053f",
  "rgb": {
    "r": 15,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 250.345,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19003,
    "c": 0.10151,
    "h": 279.1
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#0F053F
secondary
#6F8020
accent
#FC2CD8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F053F

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

Preview Lab → · Contrast checker → · Palette generator →

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