#0F0347#0F0347

#0F0347 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.115 H 277.1°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0F0347
RGBrgb(15, 3, 71)
HSLhsl(251, 92%, 15%)
HSVhsv(251, 96%, 28%)
CMYKcmyk(78.9%, 95.8%, 0%, 72.2%)
CIE-LABlab(5.61, 28.42, -38.88)
CIE-LCHlch(5.61, 48.15, 306.16°)
OKLaboklab(19.75% 0.0142 -0.1137)
OKLCHoklch(19.75% 0.115 277.1)
XYZxyz(1.3665, 0.6215, 6.0080)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0347 #3B4703
analogous
#031947 #0F0347 #310347
triadic
#0F0347 #470F03 #03470F
tetradic
#0F0347 #470319 #3B4703 #034731
square
#0F0347 #470319 #3B4703 #034731
split-complementary
#0F0347 #473103 #194703
monochromatic
#06011D #06011D #0F0347 #1B0582 #2808BC

Accessibility & contrast

On white

18.68
#0F0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0347
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0347#FFFFFF#000000##FFFFFF
##0F03471.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001549
Deuteranopia (green-blind)
#000F46
Tritanopia (blue-blind)
#001926
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0347;
/* rgb */ color: rgb(15, 3, 71);
/* oklch */ color: oklch(19.8% 0.115 277.1);
Tailwind
colors: {
  custom: {
    50: '#59467b',
    500: '#0f0347',
    950: '#000000',
  },
}
SCSS
$custom: #0f0347;
$custom-light: #59467b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0347",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 250.588,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19752,
    "c": 0.11457,
    "h": 277.1
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#0F0347
secondary
#75881E
accent
#FF29D9
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #0F0347

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

Preview Lab → · Contrast checker → · Palette generator →

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