#1B063D#1B063D

#1B063D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.096 H 293.4°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1B063D
RGBrgb(27, 6, 61)
HSLhsl(263, 82%, 13%)
HSVhsv(263, 90%, 24%)
CMYKcmyk(55.7%, 90.2%, 0%, 76.1%)
CIE-LABlab(6.32, 25.14, -30.54)
CIE-LCHlch(6.32, 39.56, 309.46°)
OKLaboklab(20.31% 0.0382 -0.0883)
OKLCHoklch(20.31% 0.096 293.4)
XYZxyz(1.3592, 0.7001, 4.4775)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B063D #283D06
analogous
#060C3D #1B063D #36063D
triadic
#1B063D #3D1B06 #063D1B
tetradic
#1B063D #3D060C #283D06 #063D36
square
#1B063D #3D060C #283D06 #063D36
split-complementary
#1B063D #3D3606 #0C3D06
monochromatic
#0C031C #0C031C #1B063D #340B75 #4C11AC

Accessibility & contrast

On white

18.42
#1B063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B063D
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B063D#FFFFFF#000000##FFFFFF
##1B063D1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b063d;
/* rgb */ color: rgb(27, 6, 61);
/* oklch */ color: oklch(20.3% 0.096 293.4);
Tailwind
colors: {
  custom: {
    50: '#5c4973',
    500: '#1b063d',
    950: '#000000',
  },
}
SCSS
$custom: #1b063d;
$custom-light: #5c4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1b063d",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 262.909,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20306,
    "c": 0.09622,
    "h": 293.4
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#1B063D
secondary
#5A7D22
accent
#F82FAC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B063D

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

Preview Lab → · Contrast checker → · Palette generator →

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