#1F144F#1F144F

#1F144F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.102 H 284.7°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#1F144F
RGBrgb(31, 20, 79)
HSLhsl(251, 60%, 19%)
HSVhsv(251, 75%, 31%)
CMYKcmyk(60.8%, 74.7%, 0%, 69%)
CIE-LABlab(11.66, 23.82, -34.44)
CIE-LCHlch(11.66, 41.88, 304.68°)
OKLaboklab(24.87% 0.026 -0.099)
OKLCHoklch(24.87% 0.102 284.7)
XYZxyz(2.2261, 1.3560, 7.5401)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F144F #444F14
analogous
#14274F #1F144F #3D144F
triadic
#1F144F #4F1F14 #144F1F
tetradic
#1F144F #4F1427 #444F14 #144F3D
square
#1F144F #4F1427 #444F14 #144F3D
split-complementary
#1F144F #4F3D14 #274F14
monochromatic
#0A0618 #0C081E #1F144F #322080 #452DB1

Accessibility & contrast

On white

16.52
#1F144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1F144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F144F
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F144F#FFFFFF#000000##FFFFFF
##1F144F1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#09232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f144f;
/* rgb */ color: rgb(31, 20, 79);
/* oklch */ color: oklch(24.9% 0.102 284.7);
Tailwind
colors: {
  custom: {
    50: '#615281',
    500: '#1f144f',
    950: '#000000',
  },
}
SCSS
$custom: #1f144f;
$custom-light: #615281;
$custom-dark: #000000;
JSON
{
  "hex": "#1f144f",
  "rgb": {
    "r": 31,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 251.186,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24873,
    "c": 0.10237,
    "h": 284.7
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#1F144F
secondary
#788738
accent
#E345C5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1F144F

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

Preview Lab → · Contrast checker → · Palette generator →

#1F144F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva