#1F1055#1F1055

#1F1055 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.116 H 284.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1F1055
RGBrgb(31, 16, 85)
HSLhsl(253, 68%, 20%)
HSVhsv(253, 81%, 33%)
CMYKcmyk(63.5%, 81.2%, 0%, 66.7%)
CIE-LABlab(11.40, 28.38, -38.97)
CIE-LCHlch(11.40, 48.21, 306.06°)
OKLaboklab(24.88% 0.0283 -0.1123)
OKLCHoklch(24.88% 0.116 284.1)
XYZxyz(2.3896, 1.3176, 8.7210)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1055 #465510
analogous
#102455 #1F1055 #411055
triadic
#1F1055 #551F10 #10551F
tetradic
#1F1055 #551024 #465510 #105541
square
#1F1055 #551024 #465510 #105541
split-complementary
#1F1055 #554110 #245510
monochromatic
#09051A #0C0621 #1F1055 #321A89 #4523BC

Accessibility & contrast

On white

16.62
#1F1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F1055
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1055#FFFFFF#000000##FFFFFF
##1F10551.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#022331
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f1055;
/* rgb */ color: rgb(31, 16, 85);
/* oklch */ color: oklch(24.9% 0.116 284.1);
Tailwind
colors: {
  custom: {
    50: '#635086',
    500: '#1f1055',
    950: '#000000',
  },
}
SCSS
$custom: #1f1055;
$custom-light: #635086;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1055",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 253.043,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24877,
    "c": 0.11579,
    "h": 284.1
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#1F1055
secondary
#7A8F32
accent
#EB3DC5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1F1055

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

Preview Lab → · Contrast checker → · Palette generator →

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