#1F134A#1F134A

#1F134A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.2% C 0.097 H 286.8°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#1F134A
RGBrgb(31, 19, 74)
HSLhsl(253, 59%, 18%)
HSVhsv(253, 74%, 29%)
CMYKcmyk(58.1%, 74.3%, 0%, 71%)
CIE-LABlab(10.93, 22.72, -32.18)
CIE-LCHlch(10.93, 39.39, 305.23°)
OKLaboklab(24.2% 0.0279 -0.0924)
OKLCHoklch(24.2% 0.097 286.8)
XYZxyz(2.0336, 1.2514, 6.6116)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F134A #3E4A13
analogous
#13224A #1F134A #3A134A
triadic
#1F134A #4A1F13 #134A1F
tetradic
#1F134A #4A1322 #3E4A13 #134A3A
square
#1F134A #4A1322 #3E4A13 #134A3A
split-complementary
#1F134A #4A3A13 #224A13
monochromatic
#0A0618 #0B0619 #1F134A #33207B #482CAB

Accessibility & contrast

On white

16.80
#1F134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1F134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F134A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F134A#FFFFFF#000000##FFFFFF
##1F134A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#0E212C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1f134a;
/* rgb */ color: rgb(31, 19, 74);
/* oklch */ color: oklch(24.2% 0.097 286.8);
Tailwind
colors: {
  custom: {
    50: '#60517d',
    500: '#1f134a',
    950: '#000000',
  },
}
SCSS
$custom: #1f134a;
$custom-light: #60517d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f134a",
  "rgb": {
    "r": 31,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 253.091,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24196,
    "c": 0.09652,
    "h": 286.8
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#1F134A
secondary
#728336
accent
#E245C0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1F134A

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

Preview Lab → · Contrast checker → · Palette generator →

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