#0F0538#0F0538

#0F0538 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.092 H 281.8°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#0F0538
RGBrgb(15, 5, 56)
HSLhsl(252, 84%, 12%)
HSVhsv(252, 91%, 22%)
CMYKcmyk(73.2%, 91.1%, 0%, 78%)
CIE-LABlab(4.48, 20.00, -29.97)
CIE-LCHlch(4.48, 36.03, 303.72°)
OKLaboklab(18.09% 0.0188 -0.0899)
OKLCHoklch(18.09% 0.092 281.8)
XYZxyz(0.9649, 0.4956, 3.7854)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0538 #2E3805
analogous
#051538 #0F0538 #290538
triadic
#0F0538 #380F05 #05380F
tetradic
#0F0538 #380515 #2E3805 #053829
square
#0F0538 #380515 #2E3805 #053829
split-complementary
#0F0538 #382905 #153805
monochromatic
#08031C #08031C #0F0538 #1E0A70 #2D0FA8

Accessibility & contrast

On white

19.10
#0F0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0538
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0538#FFFFFF#000000##FFFFFF
##0F05381.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0538;
/* rgb */ color: rgb(15, 5, 56);
/* oklch */ color: oklch(18.1% 0.092 281.8);
Tailwind
colors: {
  custom: {
    50: '#53486f',
    500: '#0f0538',
    950: '#000000',
  },
}
SCSS
$custom: #0f0538;
$custom-light: #53486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0538",
  "rgb": {
    "r": 15,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 251.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18086,
    "c": 0.09189,
    "h": 281.8
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#0F0538
secondary
#687920
accent
#FA2ED2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0538

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

Preview Lab → · Contrast checker → · Palette generator →

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