#1B063F#1B063F

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

Color values

HEX#1B063F
RGBrgb(27, 6, 63)
HSLhsl(262, 83%, 14%)
HSVhsv(262, 90%, 25%)
CMYKcmyk(57.1%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.52, 25.89, -31.65)
CIE-LCHlch(6.52, 40.90, 309.28°)
OKLaboklab(20.54% 0.0374 -0.0914)
OKLCHoklch(20.54% 0.099 292.2)
XYZxyz(1.4141, 0.7221, 4.7665)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B063F #2A3F06
analogous
#060D3F #1B063F #37063F
triadic
#1B063F #3F1B06 #063F1B
tetradic
#1B063F #3F060D #2A3F06 #063F37
square
#1B063F #3F060D #2A3F06 #063F37
split-complementary
#1B063F #3F3706 #0D3F06
monochromatic
#0C031C #0C031C #1B063F #330B77 #4B11AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B063F#FFFFFF#000000##FFFFFF
##1B063F1.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)
#001541
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#0F1623
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b063f;
/* rgb */ color: rgb(27, 6, 63);
/* oklch */ color: oklch(20.5% 0.099 292.2);
Tailwind
colors: {
  custom: {
    50: '#5c4975',
    500: '#1b063f',
    950: '#000000',
  },
}
SCSS
$custom: #1b063f;
$custom-light: #5c4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1b063f",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 262.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20535,
    "c": 0.09878,
    "h": 292.2
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#1B063F
secondary
#5D7F22
accent
#F92FAE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B063F

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

Preview Lab → · Contrast checker → · Palette generator →

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