#1F1069#1F1069

#1F1069 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.142 H 278.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#1F1069
RGBrgb(31, 16, 105)
HSLhsl(250, 74%, 24%)
HSVhsv(250, 85%, 41%)
CMYKcmyk(70.5%, 84.8%, 0%, 58.8%)
CIE-LABlab(13.72, 35.01, -48.52)
CIE-LCHlch(13.72, 59.83, 305.81°)
OKLaboklab(27.19% 0.022 -0.1401)
OKLCHoklch(27.19% 0.142 278.9)
XYZxyz(3.2993, 1.6815, 13.5126)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1069 #5A6910
analogous
#102D69 #1F1069 #4B1069
triadic
#1F1069 #691F10 #10691F
tetradic
#1F1069 #69102D #5A6910 #10694B
square
#1F1069 #69102D #5A6910 #10694B
split-complementary
#1F1069 #694B10 #2D6910
monochromatic
#08041B #0F0834 #1F1069 #2F189E #3E20D3

Accessibility & contrast

On white

15.71
#1F1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1F1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1069
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1069#FFFFFF#000000##FFFFFF
##1F10691.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266B
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f1069;
/* rgb */ color: rgb(31, 16, 105);
/* oklch */ color: oklch(27.2% 0.142 278.9);
Tailwind
colors: {
  custom: {
    50: '#675195',
    500: '#1f1069',
    950: '#000000',
  },
}
SCSS
$custom: #1f1069;
$custom-light: #675195;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1069",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 250.112,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27188,
    "c": 0.14185,
    "h": 278.9
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#1F1069
secondary
#8FA134
accent
#F038D1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F1069

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

Preview Lab → · Contrast checker → · Palette generator →

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