#140B30#140B30

#140B30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.070 H 289.1°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#140B30
RGBrgb(20, 11, 48)
HSLhsl(255, 63%, 12%)
HSVhsv(255, 77%, 19%)
CMYKcmyk(58.3%, 77.1%, 0%, 81.2%)
CIE-LABlab(5.43, 15.00, -22.51)
CIE-LCHlch(5.43, 27.05, 303.67°)
OKLaboklab(18.89% 0.0229 -0.0661)
OKLCHoklch(18.89% 0.07 289.1)
XYZxyz(0.9415, 0.6014, 2.8622)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B30 #27300B
analogous
#0B1530 #140B30 #270B30
triadic
#140B30 #30140B #0B3014
tetradic
#140B30 #300B15 #27300B #0B3027
square
#140B30 #300B15 #27300B #0B3027
split-complementary
#140B30 #30270B #15300B
monochromatic
#0A0619 #0A0619 #140B30 #291662 #3D2294

Accessibility & contrast

On white

18.75
#140B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#140B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B30
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B30#FFFFFF#000000##FFFFFF
##140B301.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#0B141C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #140b30;
/* rgb */ color: rgb(20, 11, 48);
/* oklch */ color: oklch(18.9% 0.070 289.1);
Tailwind
colors: {
  custom: {
    50: '#544b68',
    500: '#140b30',
    950: '#000000',
  },
}
SCSS
$custom: #140b30;
$custom-light: #544b68;
$custom-dark: #000000;
JSON
{
  "hex": "#140b30",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 254.595,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18889,
    "c": 0.07,
    "h": 289.1
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#140B30
secondary
#5C6D2A
accent
#E642BE
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140B30

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

Preview Lab → · Contrast checker → · Palette generator →

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