#1F093D#1F093D

#1F093D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 297.1°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#1F093D
RGBrgb(31, 9, 61)
HSLhsl(265, 74%, 14%)
HSVhsv(265, 85%, 24%)
CMYKcmyk(49.2%, 85.2%, 0%, 76.1%)
CIE-LABlab(7.44, 24.52, -28.70)
CIE-LCHlch(7.44, 37.75, 310.50°)
OKLaboklab(21.3% 0.042 -0.0822)
OKLCHoklch(21.3% 0.092 297.1)
XYZxyz(1.5048, 0.8236, 4.4937)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F093D #273D09
analogous
#090D3D #1F093D #39093D
triadic
#1F093D #3D1F09 #093D1F
tetradic
#1F093D #3D090D #273D09 #093D39
square
#1F093D #3D090D #273D09 #093D39
split-complementary
#1F093D #3D3909 #0D3D09
monochromatic
#0E041B #0E041B #1F093D #3A1172 #5519A8

Accessibility & contrast

On white

18.03
#1F093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1F093D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F093D
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F093D#FFFFFF#000000##FFFFFF
##1F093D1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#171722
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1f093d;
/* rgb */ color: rgb(31, 9, 61);
/* oklch */ color: oklch(21.3% 0.092 297.1);
Tailwind
colors: {
  custom: {
    50: '#5e4a73',
    500: '#1f093d',
    950: '#000000',
  },
}
SCSS
$custom: #1f093d;
$custom-light: #5e4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f093d",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 265.385,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.213,
    "c": 0.09231,
    "h": 297.1
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#1F093D
secondary
#577B27
accent
#F137A2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1F093D

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

Preview Lab → · Contrast checker → · Palette generator →

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