#0F0631#0F0631

#0F0631 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.4% C 0.080 H 284.5°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#0F0631
RGBrgb(15, 6, 49)
HSLhsl(253, 78%, 11%)
HSVhsv(253, 88%, 19%)
CMYKcmyk(69.4%, 87.8%, 0%, 80.8%)
CIE-LABlab(4.10, 15.78, -25.42)
CIE-LCHlch(4.10, 29.92, 301.84°)
OKLaboklab(17.42% 0.0201 -0.0777)
OKLCHoklch(17.42% 0.08 284.5)
XYZxyz(0.8163, 0.4535, 2.9497)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0631 #283106
analogous
#061231 #0F0631 #240631
triadic
#0F0631 #310F06 #06310F
tetradic
#0F0631 #310612 #283106 #063124
square
#0F0631 #310612 #283106 #063124
split-complementary
#0F0631 #312406 #123106
monochromatic
#08031B #08031B #0F0631 #200D68 #30139E

Accessibility & contrast

On white

19.25
#0F0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0631
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0631#FFFFFF#000000##FFFFFF
##0F06311.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#01121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0631;
/* rgb */ color: rgb(15, 6, 49);
/* oklch */ color: oklch(17.4% 0.080 284.5);
Tailwind
colors: {
  custom: {
    50: '#514969',
    500: '#0f0631',
    950: '#000000',
  },
}
SCSS
$custom: #0f0631;
$custom-light: #514969;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0631",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 252.558,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17422,
    "c": 0.08021,
    "h": 284.5
  },
  "luminance": 0.00454
}

Semantic roles & 50–950 ramp

primary
#0F0631
secondary
#617221
accent
#F533CC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0631

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

Preview Lab → · Contrast checker → · Palette generator →

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