#0F0636#0F0636

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

Color values

HEX#0F0636
RGBrgb(15, 6, 54)
HSLhsl(251, 80%, 12%)
HSVhsv(251, 89%, 21%)
CMYKcmyk(72.2%, 88.9%, 0%, 78.8%)
CIE-LABlab(4.50, 18.50, -28.47)
CIE-LCHlch(4.50, 33.95, 303.02°)
OKLaboklab(18.03% 0.0185 -0.0855)
OKLCHoklch(18.03% 0.088 282.2)
XYZxyz(0.9278, 0.4981, 3.5366)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0636 #2D3606
analogous
#061536 #0F0636 #270636
triadic
#0F0636 #360F06 #06360F
tetradic
#0F0636 #360615 #2D3606 #063627
square
#0F0636 #360615 #2D3606 #063627
split-complementary
#0F0636 #362706 #153606
monochromatic
#08031C #08031C #0F0636 #1E0C6D #2E12A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F0636#FFFFFF#000000##FFFFFF
##0F06361.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)
#001137
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0636;
/* rgb */ color: rgb(15, 6, 54);
/* oklch */ color: oklch(18.0% 0.087 282.2);
Tailwind
colors: {
  custom: {
    50: '#52486d',
    500: '#0f0636',
    950: '#000000',
  },
}
SCSS
$custom: #0f0636;
$custom-light: #52486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0636",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 251.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18033,
    "c": 0.0875,
    "h": 282.2
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#0F0636
secondary
#667621
accent
#F631D1
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0636

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

Preview Lab → · Contrast checker → · Palette generator →

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