#1B073D#1B073D

#1B073D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.095 H 293.0°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#1B073D
RGBrgb(27, 7, 61)
HSLhsl(262, 79%, 13%)
HSVhsv(262, 89%, 24%)
CMYKcmyk(55.7%, 88.5%, 0%, 76.1%)
CIE-LABlab(6.52, 24.61, -30.22)
CIE-LCHlch(6.52, 38.98, 309.16°)
OKLaboklab(20.46% 0.037 -0.0873)
OKLCHoklch(20.46% 0.095 293)
XYZxyz(1.3700, 0.7218, 4.4811)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B073D #293D07
analogous
#070E3D #1B073D #36073D
triadic
#1B073D #3D1B07 #073D1B
tetradic
#1B073D #3D070E #293D07 #073D36
square
#1B073D #3D070E #293D07 #073D36
split-complementary
#1B073D #3D3607 #0E3D07
monochromatic
#0C031B #0C031B #1B073D #330D74 #4C14AB

Accessibility & contrast

On white

18.35
#1B073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B073D
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B073D#FFFFFF#000000##FFFFFF
##1B073D1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#101622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b073d;
/* rgb */ color: rgb(27, 7, 61);
/* oklch */ color: oklch(20.5% 0.095 293.0);
Tailwind
colors: {
  custom: {
    50: '#5c4973',
    500: '#1b073d',
    950: '#000000',
  },
}
SCSS
$custom: #1b073d;
$custom-light: #5c4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1b073d",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 262.222,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20464,
    "c": 0.09479,
    "h": 293
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#1B073D
secondary
#5B7C23
accent
#F632AD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B073D

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

Preview Lab → · Contrast checker → · Palette generator →

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