#140B33#140B33

#140B33 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.075 H 287.5°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#140B33
RGBrgb(20, 11, 51)
HSLhsl(254, 65%, 12%)
HSVhsv(254, 78%, 20%)
CMYKcmyk(60.8%, 78.4%, 0%, 80%)
CIE-LABlab(5.66, 16.38, -24.37)
CIE-LCHlch(5.66, 29.36, 303.92°)
OKLaboklab(19.2% 0.0225 -0.0712)
OKLCHoklch(19.2% 0.075 287.5)
XYZxyz(1.0055, 0.6270, 3.1994)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B33 #2A330B
analogous
#0B1633 #140B33 #280B33
triadic
#140B33 #33140B #0B3314
tetradic
#140B33 #330B16 #2A330B #0B3328
square
#140B33 #330B16 #2A330B #0B3328
split-complementary
#140B33 #33280B #16330B
monochromatic
#0A0519 #0A0519 #140B33 #281665 #3B2198

Accessibility & contrast

On white

18.66
#140B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B33
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B33#FFFFFF#000000##FFFFFF
##140B331.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#09151D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140b33;
/* rgb */ color: rgb(20, 11, 51);
/* oklch */ color: oklch(19.2% 0.075 287.5);
Tailwind
colors: {
  custom: {
    50: '#554b6b',
    500: '#140b33',
    950: '#000000',
  },
}
SCSS
$custom: #140b33;
$custom-light: #554b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#140b33",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 253.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19195,
    "c": 0.07471,
    "h": 287.5
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#140B33
secondary
#60702A
accent
#E840C2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140B33

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

Preview Lab → · Contrast checker → · Palette generator →

#140B33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva