#0F0637#0F0637

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

Color values

HEX#0F0637
RGBrgb(15, 6, 55)
HSLhsl(251, 80%, 12%)
HSVhsv(251, 89%, 22%)
CMYKcmyk(72.7%, 89.1%, 0%, 78.4%)
CIE-LABlab(4.59, 19.03, -29.06)
CIE-LCHlch(4.59, 34.74, 303.22°)
OKLaboklab(18.16% 0.0181 -0.0871)
OKLCHoklch(18.16% 0.089 281.8)
XYZxyz(0.9515, 0.5076, 3.6615)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0637 #2E3706
analogous
#061637 #0F0637 #280637
triadic
#0F0637 #370F06 #06370F
tetradic
#0F0637 #370616 #2E3706 #063728
square
#0F0637 #370616 #2E3706 #063728
split-complementary
#0F0637 #372806 #163706
monochromatic
#08031C #08031C #0F0637 #1E0C6E #2D12A5

Accessibility & contrast

On white

19.06
#0F0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0637
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0637#FFFFFF#000000##FFFFFF
##0F06371.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000E36
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0637;
/* rgb */ color: rgb(15, 6, 55);
/* oklch */ color: oklch(18.2% 0.089 281.8);
Tailwind
colors: {
  custom: {
    50: '#53486e',
    500: '#0f0637',
    950: '#000000',
  },
}
SCSS
$custom: #0f0637;
$custom-light: #53486e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0637",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 251.02,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18158,
    "c": 0.08894,
    "h": 281.8
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#0F0637
secondary
#687721
accent
#F731D2
background
#F4F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0637

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

Preview Lab → · Contrast checker → · Palette generator →

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