#1F1053#1F1053

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

Color values

HEX#1F1053
RGBrgb(31, 16, 83)
HSLhsl(253, 68%, 19%)
HSVhsv(253, 81%, 33%)
CMYKcmyk(62.7%, 80.7%, 0%, 67.5%)
CIE-LABlab(11.18, 27.70, -37.97)
CIE-LCHlch(11.18, 47.00, 306.12°)
OKLaboklab(24.66% 0.0288 -0.1093)
OKLCHoklch(24.66% 0.113 284.8)
XYZxyz(2.3112, 1.2863, 8.3084)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1053 #445310
analogous
#102353 #1F1053 #411053
triadic
#1F1053 #531F10 #10531F
tetradic
#1F1053 #531023 #445310 #105341
square
#1F1053 #531023 #445310 #105341
split-complementary
#1F1053 #534110 #235310
monochromatic
#0A051A #0C0620 #1F1053 #321A86 #4524BA

Accessibility & contrast

On white

16.70
#1F1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F1053
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1053#FFFFFF#000000##FFFFFF
##1F10531.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001C52
Tritanopia (blue-blind)
#042330
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f1053;
/* rgb */ color: rgb(31, 16, 83);
/* oklch */ color: oklch(24.7% 0.113 284.8);
Tailwind
colors: {
  custom: {
    50: '#625084',
    500: '#1f1053',
    950: '#000000',
  },
}
SCSS
$custom: #1f1053;
$custom-light: #625084;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1053",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 253.433,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24657,
    "c": 0.11308,
    "h": 284.8
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#1F1053
secondary
#788D32
accent
#EB3DC4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1F1053

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

Preview Lab → · Contrast checker → · Palette generator →

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