#0F0735#0F0735

#0F0735 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.085 H 282.1°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#0F0735
RGBrgb(15, 7, 53)
HSLhsl(250, 77%, 12%)
HSVhsv(250, 87%, 21%)
CMYKcmyk(71.7%, 86.8%, 0%, 79.2%)
CIE-LABlab(4.61, 17.54, -27.55)
CIE-LCHlch(4.61, 32.66, 302.48°)
OKLaboklab(18.11% 0.0177 -0.0826)
OKLCHoklch(18.11% 0.085 282.1)
XYZxyz(0.9154, 0.5105, 3.4178)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0735 #2D3507
analogous
#071635 #0F0735 #260735
triadic
#0F0735 #350F07 #07350F
tetradic
#0F0735 #350716 #2D3507 #073526
square
#0F0735 #350716 #2D3507 #073526
split-complementary
#0F0735 #352607 #163507
monochromatic
#08041B #08041B #0F0735 #1E0E6B #2E15A1

Accessibility & contrast

On white

19.05
#0F0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0735
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0735#FFFFFF#000000##FFFFFF
##0F07351.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000E34
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0735;
/* rgb */ color: rgb(15, 7, 53);
/* oklch */ color: oklch(18.1% 0.085 282.1);
Tailwind
colors: {
  custom: {
    50: '#52496d',
    500: '#0f0735',
    950: '#000000',
  },
}
SCSS
$custom: #0f0735;
$custom-light: #52496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0735",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 250.435,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18111,
    "c": 0.0845,
    "h": 282.1
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#0F0735
secondary
#667523
accent
#F335D2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0F0735

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

Preview Lab → · Contrast checker → · Palette generator →

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