#1F134F#1F134F

#1F134F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.104 H 285.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#1F134F
RGBrgb(31, 19, 79)
HSLhsl(252, 61%, 19%)
HSVhsv(252, 76%, 31%)
CMYKcmyk(60.8%, 75.9%, 0%, 69%)
CIE-LABlab(11.42, 24.48, -34.83)
CIE-LCHlch(11.42, 42.57, 305.10°)
OKLaboklab(24.7% 0.027 -0.1002)
OKLCHoklch(24.7% 0.104 285.1)
XYZxyz(2.2088, 1.3214, 7.5343)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F134F #434F13
analogous
#13254F #1F134F #3D134F
triadic
#1F134F #4F1F13 #134F1F
tetradic
#1F134F #4F1325 #434F13 #134F3D
square
#1F134F #4F1325 #434F13 #134F3D
split-complementary
#1F134F #4F3D13 #254F13
monochromatic
#0A0619 #0C071E #1F134F #321F80 #462BB2

Accessibility & contrast

On white

16.61
#1F134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1F134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F134F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F134F#FFFFFF#000000##FFFFFF
##1F134F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#09232F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f134f;
/* rgb */ color: rgb(31, 19, 79);
/* oklch */ color: oklch(24.7% 0.104 285.1);
Tailwind
colors: {
  custom: {
    50: '#615281',
    500: '#1f134f',
    950: '#000000',
  },
}
SCSS
$custom: #1f134f;
$custom-light: #615281;
$custom-dark: #000000;
JSON
{
  "hex": "#1f134f",
  "rgb": {
    "r": 31,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 252,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24703,
    "c": 0.10373,
    "h": 285.1
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#1F134F
secondary
#778836
accent
#E443C4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1F134F

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

Preview Lab → · Contrast checker → · Palette generator →

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