#0F0339#0F0339

#0F0339 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.096 H 282.2°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0F0339
RGBrgb(15, 3, 57)
HSLhsl(253, 90%, 12%)
HSVhsv(253, 95%, 22%)
CMYKcmyk(73.7%, 94.7%, 0%, 77.6%)
CIE-LABlab(4.17, 21.42, -31.19)
CIE-LCHlch(4.17, 37.84, 304.48°)
OKLaboklab(17.81% 0.0204 -0.0942)
OKLCHoklch(17.81% 0.096 282.2)
XYZxyz(0.9679, 0.4620, 3.9083)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0339 #2D3903
analogous
#031239 #0F0339 #2A0339
triadic
#0F0339 #390F03 #03390F
tetradic
#0F0339 #390312 #2D3903 #03392A
square
#0F0339 #390312 #2D3903 #03392A
split-complementary
#0F0339 #392A03 #123903
monochromatic
#08021D #08021D #0F0339 #1E0673 #2E09AD

Accessibility & contrast

On white

19.22
#0F0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0339
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0339#FFFFFF#000000##FFFFFF
##0F03391.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0339;
/* rgb */ color: rgb(15, 3, 57);
/* oklch */ color: oklch(17.8% 0.096 282.2);
Tailwind
colors: {
  custom: {
    50: '#534770',
    500: '#0f0339',
    950: '#000000',
  },
}
SCSS
$custom: #0f0339;
$custom-light: #534770;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0339",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 253.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17811,
    "c": 0.09639,
    "h": 282.2
  },
  "luminance": 0.00462
}

Semantic roles & 50–950 ramp

primary
#0F0339
secondary
#667C1C
accent
#FF29CF
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0339

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

Preview Lab → · Contrast checker → · Palette generator →

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