#0F0737#0F0737

#0F0737 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.087 H 281.3°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#0F0737
RGBrgb(15, 7, 55)
HSLhsl(250, 77%, 12%)
HSVhsv(250, 87%, 22%)
CMYKcmyk(72.7%, 87.3%, 0%, 78.4%)
CIE-LABlab(4.78, 18.60, -28.75)
CIE-LCHlch(4.78, 34.24, 302.90°)
OKLaboklab(18.36% 0.0171 -0.0857)
OKLCHoklch(18.36% 0.087 281.3)
XYZxyz(0.9624, 0.5293, 3.6651)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0737 #2F3707
analogous
#071737 #0F0737 #270737
triadic
#0F0737 #370F07 #07370F
tetradic
#0F0737 #370717 #2F3707 #073727
square
#0F0737 #370717 #2F3707 #073727
split-complementary
#0F0737 #372707 #173707
monochromatic
#07031B #07031B #0F0737 #1E0E6D #2D15A4

Accessibility & contrast

On white

18.99
#0F0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0737
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0737#FFFFFF#000000##FFFFFF
##0F07371.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000E36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0737;
/* rgb */ color: rgb(15, 7, 55);
/* oklch */ color: oklch(18.4% 0.087 281.3);
Tailwind
colors: {
  custom: {
    50: '#53496e',
    500: '#0f0737',
    950: '#000000',
  },
}
SCSS
$custom: #0f0737;
$custom-light: #53496e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0737",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 250,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18355,
    "c": 0.08744,
    "h": 281.3
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#0F0737
secondary
#697723
accent
#F434D4
background
#F4F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0737

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

Preview Lab → · Contrast checker → · Palette generator →

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