#0F0733#0F0733

#0F0733 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.082 H 283.0°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#0F0733
RGBrgb(15, 7, 51)
HSLhsl(251, 76%, 11%)
HSVhsv(251, 86%, 20%)
CMYKcmyk(70.6%, 86.3%, 0%, 80%)
CIE-LABlab(4.45, 16.46, -26.34)
CIE-LCHlch(4.45, 31.06, 302.01°)
OKLaboklab(17.87% 0.0183 -0.0794)
OKLCHoklch(17.87% 0.082 283)
XYZxyz(0.8703, 0.4925, 3.1805)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0733 #2B3307
analogous
#071533 #0F0733 #250733
triadic
#0F0733 #330F07 #07330F
tetradic
#0F0733 #330715 #2B3307 #073325
square
#0F0733 #330715 #2B3307 #073325
split-complementary
#0F0733 #332507 #153307
monochromatic
#08041B #08041B #0F0733 #1F0E69 #2F169F

Accessibility & contrast

On white

19.12
#0F0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0733
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0733#FFFFFF#000000##FFFFFF
##0F07331.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0733;
/* rgb */ color: rgb(15, 7, 51);
/* oklch */ color: oklch(17.9% 0.082 283.0);
Tailwind
colors: {
  custom: {
    50: '#51496b',
    500: '#0f0733',
    950: '#000000',
  },
}
SCSS
$custom: #0f0733;
$custom-light: #51496b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0733",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 250.909,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17871,
    "c": 0.08152,
    "h": 283
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#0F0733
secondary
#647323
accent
#F235D0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0733

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

Preview Lab → · Contrast checker → · Palette generator →

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