#0F0639#0F0639

#0F0639 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.092 H 281.0°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#0F0639
RGBrgb(15, 6, 57)
HSLhsl(251, 81%, 12%)
HSVhsv(251, 89%, 22%)
CMYKcmyk(73.7%, 89.5%, 0%, 77.6%)
CIE-LABlab(4.76, 20.09, -30.24)
CIE-LCHlch(4.76, 36.30, 303.60°)
OKLaboklab(18.41% 0.0175 -0.0901)
OKLCHoklch(18.41% 0.092 281)
XYZxyz(1.0004, 0.5271, 3.9191)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0639 #303906
analogous
#061739 #0F0639 #280639
triadic
#0F0639 #390F06 #06390F
tetradic
#0F0639 #390617 #303906 #063928
square
#0F0639 #390617 #303906 #063928
split-complementary
#0F0639 #392806 #173906
monochromatic
#07031C #07031C #0F0639 #1E0C70 #2C12A8

Accessibility & contrast

On white

19.00
#0F0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0639
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0639#FFFFFF#000000##FFFFFF
##0F06391.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0639;
/* rgb */ color: rgb(15, 6, 57);
/* oklch */ color: oklch(18.4% 0.092 281.0);
Tailwind
colors: {
  custom: {
    50: '#534870',
    500: '#0f0639',
    950: '#000000',
  },
}
SCSS
$custom: #0f0639;
$custom-light: #534870;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0639",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 250.588,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1841,
    "c": 0.0918,
    "h": 281
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#0F0639
secondary
#6A7922
accent
#F730D4
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #0F0639

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

Preview Lab → · Contrast checker → · Palette generator →

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