#0F0537#0F0537

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

Color values

HEX#0F0537
RGBrgb(15, 5, 55)
HSLhsl(252, 83%, 12%)
HSVhsv(252, 91%, 22%)
CMYKcmyk(72.7%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.39, 19.46, -29.38)
CIE-LCHlch(4.39, 35.24, 303.52°)
OKLaboklab(17.96% 0.0192 -0.0884)
OKLCHoklch(17.96% 0.09 282.2)
XYZxyz(0.9406, 0.4859, 3.6579)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0537 #2D3705
analogous
#051437 #0F0537 #280537
triadic
#0F0537 #370F05 #05370F
tetradic
#0F0537 #370514 #2D3705 #053728
square
#0F0537 #370514 #2D3705 #053728
split-complementary
#0F0537 #372805 #143705
monochromatic
#08031C #08031C #0F0537 #1E0A6F #2E0FA7

Accessibility & contrast

On white

19.14
#0F0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0537
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0537#FFFFFF#000000##FFFFFF
##0F05371.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000D36
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0537;
/* rgb */ color: rgb(15, 5, 55);
/* oklch */ color: oklch(18.0% 0.090 282.2);
Tailwind
colors: {
  custom: {
    50: '#53486e',
    500: '#0f0537',
    950: '#000000',
  },
}
SCSS
$custom: #0f0537;
$custom-light: #53486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0537",
  "rgb": {
    "r": 15,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 252,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17957,
    "c": 0.09049,
    "h": 282.2
  },
  "luminance": 0.00486
}

Semantic roles & 50–950 ramp

primary
#0F0537
secondary
#667820
accent
#FA2ED1
background
#F4F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0537

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

Preview Lab → · Contrast checker → · Palette generator →

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