#0F033F#0F033F

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

Color values

HEX#0F033F
RGBrgb(15, 3, 63)
HSLhsl(252, 91%, 13%)
HSVhsv(252, 95%, 25%)
CMYKcmyk(76.2%, 95.2%, 0%, 75.3%)
CIE-LABlab(4.75, 24.57, -34.60)
CIE-LCHlch(4.75, 42.44, 305.38°)
OKLaboklab(18.63% 0.0177 -0.1028)
OKLCHoklch(18.63% 0.104 279.8)
XYZxyz(1.1265, 0.5255, 4.7437)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F033F #333F03
analogous
#03153F #0F033F #2D033F
triadic
#0F033F #3F0F03 #033F0F
tetradic
#0F033F #3F0315 #333F03 #033F2D
square
#0F033F #3F0315 #333F03 #033F2D
split-complementary
#0F033F #3F2D03 #153F03
monochromatic
#07011D #07011D #0F033F #1D0679 #2B09B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F033F#FFFFFF#000000##FFFFFF
##0F033F1.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)
#001241
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f033f;
/* rgb */ color: rgb(15, 3, 63);
/* oklch */ color: oklch(18.6% 0.104 279.8);
Tailwind
colors: {
  custom: {
    50: '#564775',
    500: '#0f033f',
    950: '#000000',
  },
}
SCSS
$custom: #0f033f;
$custom-light: #564775;
$custom-dark: #000000;
JSON
{
  "hex": "#0f033f",
  "rgb": {
    "r": 15,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 252,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18633,
    "c": 0.10427,
    "h": 279.8
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#0F033F
secondary
#6D811D
accent
#FF29D4
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F033F

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

Preview Lab → · Contrast checker → · Palette generator →

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