#0F0638#0F0638

#0F0638 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.090 H 281.4°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#0F0638
RGBrgb(15, 6, 56)
HSLhsl(251, 81%, 12%)
HSVhsv(251, 89%, 22%)
CMYKcmyk(73.2%, 89.3%, 0%, 78%)
CIE-LABlab(4.67, 19.56, -29.65)
CIE-LCHlch(4.67, 35.52, 303.41°)
OKLaboklab(18.28% 0.0178 -0.0886)
OKLCHoklch(18.28% 0.09 281.4)
XYZxyz(0.9757, 0.5173, 3.7890)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0638 #2F3806
analogous
#061638 #0F0638 #280638
triadic
#0F0638 #380F06 #06380F
tetradic
#0F0638 #380616 #2F3806 #063828
square
#0F0638 #380616 #2F3806 #063828
split-complementary
#0F0638 #382806 #163806
monochromatic
#07031C #07031C #0F0638 #1E0C6F #2D12A7

Accessibility & contrast

On white

19.03
#0F0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0638
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0638#FFFFFF#000000##FFFFFF
##0F06381.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0638;
/* rgb */ color: rgb(15, 6, 56);
/* oklch */ color: oklch(18.3% 0.090 281.4);
Tailwind
colors: {
  custom: {
    50: '#53486f',
    500: '#0f0638',
    950: '#000000',
  },
}
SCSS
$custom: #0f0638;
$custom-light: #53486f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0638",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 250.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18284,
    "c": 0.09037,
    "h": 281.4
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#0F0638
secondary
#697821
accent
#F731D3
background
#F5F4F6
surface
#E8E6EC
border
#C4C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0638

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

Preview Lab → · Contrast checker → · Palette generator →

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