#0F0632#0F0632

#0F0632 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.082 H 284.0°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0F0632
RGBrgb(15, 6, 50)
HSLhsl(252, 79%, 11%)
HSVhsv(252, 88%, 20%)
CMYKcmyk(70%, 88%, 0%, 80.4%)
CIE-LABlab(4.17, 16.33, -26.04)
CIE-LCHlch(4.17, 30.73, 302.09°)
OKLaboklab(17.54% 0.0198 -0.0793)
OKLCHoklch(17.54% 0.082 284)
XYZxyz(0.8377, 0.4620, 3.0620)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0632 #293206
analogous
#061332 #0F0632 #250632
triadic
#0F0632 #320F06 #06320F
tetradic
#0F0632 #320613 #293206 #063225
square
#0F0632 #320613 #293206 #063225
split-complementary
#0F0632 #322506 #133206
monochromatic
#08031B #08031B #0F0632 #1F0D69 #30139F

Accessibility & contrast

On white

19.22
#0F0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0632
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0632#FFFFFF#000000##FFFFFF
##0F06321.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000D31
Tritanopia (blue-blind)
#01121B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0632;
/* rgb */ color: rgb(15, 6, 50);
/* oklch */ color: oklch(17.5% 0.082 284.0);
Tailwind
colors: {
  custom: {
    50: '#51496a',
    500: '#0f0632',
    950: '#000000',
  },
}
SCSS
$custom: #0f0632;
$custom-light: #51496a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0632",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 252.273,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17542,
    "c": 0.08169,
    "h": 284
  },
  "luminance": 0.00462
}

Semantic roles & 50–950 ramp

primary
#0F0632
secondary
#627321
accent
#F533CD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F0632

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

Preview Lab → · Contrast checker → · Palette generator →

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