#0F0730#0F0730

#0F0730 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.077 H 284.4°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#0F0730
RGBrgb(15, 7, 48)
HSLhsl(252, 75%, 11%)
HSVhsv(252, 85%, 19%)
CMYKcmyk(68.7%, 85.4%, 0%, 81.2%)
CIE-LABlab(4.22, 14.85, -24.48)
CIE-LCHlch(4.22, 28.63, 301.24°)
OKLaboklab(17.52% 0.0191 -0.0746)
OKLCHoklch(17.52% 0.077 284.4)
XYZxyz(0.8063, 0.4669, 2.8434)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0730 #283007
analogous
#071330 #0F0730 #230730
triadic
#0F0730 #300F07 #07300F
tetradic
#0F0730 #300713 #283007 #073023
square
#0F0730 #300713 #283007 #073023
split-complementary
#0F0730 #302307 #133007
monochromatic
#08041B #08041B #0F0730 #200F65 #30179B

Accessibility & contrast

On white

19.21
#0F0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0F0730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0730
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0730#FFFFFF#000000##FFFFFF
##0F07301.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000D2F
Tritanopia (blue-blind)
#02121A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0730;
/* rgb */ color: rgb(15, 7, 48);
/* oklch */ color: oklch(17.5% 0.077 284.4);
Tailwind
colors: {
  custom: {
    50: '#504969',
    500: '#0f0730',
    950: '#000000',
  },
}
SCSS
$custom: #0f0730;
$custom-light: #504969;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0730",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 251.707,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17518,
    "c": 0.077,
    "h": 284.4
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#0F0730
secondary
#617023
accent
#F137CD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0730

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

Preview Lab → · Contrast checker → · Palette generator →

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