#1B063A#1B063A

#1B063A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.092 H 295.2°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#1B063A
RGBrgb(27, 6, 58)
HSLhsl(264, 81%, 13%)
HSVhsv(264, 90%, 23%)
CMYKcmyk(53.4%, 89.7%, 0%, 77.3%)
CIE-LABlab(6.04, 23.98, -28.84)
CIE-LCHlch(6.04, 37.50, 309.74°)
OKLaboklab(19.97% 0.0393 -0.0836)
OKLCHoklch(19.97% 0.092 295.2)
XYZxyz(1.2806, 0.6687, 4.0638)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B063A #253A06
analogous
#060B3A #1B063A #35063A
triadic
#1B063A #3A1B06 #063A1B
tetradic
#1B063A #3A060B #253A06 #063A35
square
#1B063A #3A060B #253A06 #063A35
split-complementary
#1B063A #3A3506 #0B3A06
monochromatic
#0D031C #0D031C #1B063A #350C71 #4F11A9

Accessibility & contrast

On white

18.52
#1B063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B063A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B063A#FFFFFF#000000##FFFFFF
##1B063A1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#121420
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b063a;
/* rgb */ color: rgb(27, 6, 58);
/* oklch */ color: oklch(20.0% 0.092 295.2);
Tailwind
colors: {
  custom: {
    50: '#5b4871',
    500: '#1b063a',
    950: '#000000',
  },
}
SCSS
$custom: #1b063a;
$custom-light: #5b4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1b063a",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 264.231,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19969,
    "c": 0.09239,
    "h": 295.2
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#1B063A
secondary
#567A22
accent
#F830A7
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B063A

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

Preview Lab → · Contrast checker → · Palette generator →

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