#1B073F#1B073F

#1B073F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.097 H 291.9°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1B073F
RGBrgb(27, 7, 63)
HSLhsl(261, 80%, 14%)
HSVhsv(261, 89%, 25%)
CMYKcmyk(57.1%, 88.9%, 0%, 75.3%)
CIE-LABlab(6.72, 25.36, -31.34)
CIE-LCHlch(6.72, 40.31, 308.99°)
OKLaboklab(20.69% 0.0363 -0.0904)
OKLCHoklch(20.69% 0.097 291.9)
XYZxyz(1.4249, 0.7438, 4.7702)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B073F #2B3F07
analogous
#070F3F #1B073F #37073F
triadic
#1B073F #3F1B07 #073F1B
tetradic
#1B073F #3F070F #2B3F07 #073F37
square
#1B073F #3F070F #2B3F07 #073F37
split-complementary
#1B073F #3F3707 #0F3F07
monochromatic
#0C031C #0C031C #1B073F #330D76 #4A13AD

Accessibility & contrast

On white

18.28
#1B073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1B073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B073F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B073F#FFFFFF#000000##FFFFFF
##1B073F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#0F1723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b073f;
/* rgb */ color: rgb(27, 7, 63);
/* oklch */ color: oklch(20.7% 0.097 291.9);
Tailwind
colors: {
  custom: {
    50: '#5c4975',
    500: '#1b073f',
    950: '#000000',
  },
}
SCSS
$custom: #1b073f;
$custom-light: #5c4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1b073f",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 261.429,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20689,
    "c": 0.0974,
    "h": 291.9
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#1B073F
secondary
#5E7E24
accent
#F631B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B073F

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

Preview Lab → · Contrast checker → · Palette generator →

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