#1B033B#1B033B

#1B033B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.098 H 295.7°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1B033B
RGBrgb(27, 3, 59)
HSLhsl(266, 90%, 12%)
HSVhsv(266, 95%, 23%)
CMYKcmyk(54.2%, 94.9%, 0%, 76.9%)
CIE-LABlab(5.55, 25.90, -30.37)
CIE-LCHlch(5.55, 39.91, 310.46°)
OKLaboklab(19.58% 0.0427 -0.0886)
OKLCHoklch(19.58% 0.098 295.7)
XYZxyz(1.2738, 0.6139, 4.1882)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B033B #233B03
analogous
#03073B #1B033B #37033B
triadic
#1B033B #3B1B03 #033B1B
tetradic
#1B033B #3B0307 #233B03 #033B37
square
#1B033B #3B0307 #233B03 #033B37
split-complementary
#1B033B #3B3703 #073B03
monochromatic
#0D011D #0D011D #1B033B #360675 #5009AF

Accessibility & contrast

On white

18.70
#1B033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B033B
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B033B#FFFFFF#000000##FFFFFF
##1B033B1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133D
Deuteranopia (green-blind)
#00113A
Tritanopia (blue-blind)
#12131F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b033b;
/* rgb */ color: rgb(27, 3, 59);
/* oklch */ color: oklch(19.6% 0.098 295.7);
Tailwind
colors: {
  custom: {
    50: '#5c4771',
    500: '#1b033b',
    950: '#000000',
  },
}
SCSS
$custom: #1b033b;
$custom-light: #5c4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1b033b",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 265.714,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.1958,
    "c": 0.09838,
    "h": 295.7
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#1B033B
secondary
#547E1C
accent
#FF29A3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #1B033B

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

Preview Lab → · Contrast checker → · Palette generator →

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