#0F0635#0F0635

#0F0635 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.086 H 282.6°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#0F0635
RGBrgb(15, 6, 53)
HSLhsl(251, 80%, 12%)
HSVhsv(251, 89%, 21%)
CMYKcmyk(71.7%, 88.7%, 0%, 79.2%)
CIE-LABlab(4.42, 17.96, -27.87)
CIE-LCHlch(4.42, 33.15, 302.80°)
OKLaboklab(17.91% 0.0188 -0.084)
OKLCHoklch(17.91% 0.086 282.6)
XYZxyz(0.9045, 0.4888, 3.4142)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0635 #2C3506
analogous
#061535 #0F0635 #270635
triadic
#0F0635 #350F06 #06350F
tetradic
#0F0635 #350615 #2C3506 #063527
square
#0F0635 #350615 #2C3506 #063527
split-complementary
#0F0635 #352706 #153506
monochromatic
#08031B #08031B #0F0635 #1F0C6C #2E12A3

Accessibility & contrast

On white

19.13
#0F0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0635
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0635#FFFFFF#000000##FFFFFF
##0F06351.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000E34
Tritanopia (blue-blind)
#00131D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f0635;
/* rgb */ color: rgb(15, 6, 53);
/* oklch */ color: oklch(17.9% 0.086 282.6);
Tailwind
colors: {
  custom: {
    50: '#52486d',
    500: '#0f0635',
    950: '#000000',
  },
}
SCSS
$custom: #0f0635;
$custom-light: #52486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0635",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 251.489,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17909,
    "c": 0.08606,
    "h": 282.6
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#0F0635
secondary
#657521
accent
#F632D0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0635

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

Preview Lab → · Contrast checker → · Palette generator →

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