#0F0435#0F0435

#0F0435 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.089 H 283.6°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#0F0435
RGBrgb(15, 4, 53)
HSLhsl(253, 86%, 11%)
HSVhsv(253, 92%, 21%)
CMYKcmyk(71.7%, 92.5%, 0%, 79.2%)
CIE-LABlab(4.02, 18.79, -28.50)
CIE-LCHlch(4.02, 34.14, 303.40°)
OKLaboklab(17.49% 0.021 -0.0868)
OKLCHoklch(17.49% 0.089 283.6)
XYZxyz(0.8828, 0.4454, 3.4069)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0435 #2A3504
analogous
#041135 #0F0435 #270435
triadic
#0F0435 #350F04 #04350F
tetradic
#0F0435 #350411 #2A3504 #043527
square
#0F0435 #350411 #2A3504 #043527
split-complementary
#0F0435 #352704 #113504
monochromatic
#08021C #08021C #0F0435 #1F086E #2F0DA7

Accessibility & contrast

On white

19.28
#0F0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0435
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0435#FFFFFF#000000##FFFFFF
##0F04351.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0435;
/* rgb */ color: rgb(15, 4, 53);
/* oklch */ color: oklch(17.5% 0.089 283.6);
Tailwind
colors: {
  custom: {
    50: '#52476d',
    500: '#0f0435',
    950: '#000000',
  },
}
SCSS
$custom: #0f0435;
$custom-light: #52476d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0435",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 253.469,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17491,
    "c": 0.08935,
    "h": 283.6
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#0F0435
secondary
#63771E
accent
#FC2CCD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0435

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

Preview Lab → · Contrast checker → · Palette generator →

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