#140A30#140A30

#140A30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.072 H 289.8°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#140A30
RGBrgb(20, 10, 48)
HSLhsl(256, 66%, 11%)
HSVhsv(256, 79%, 19%)
CMYKcmyk(58.3%, 79.2%, 0%, 81.2%)
CIE-LABlab(5.23, 15.44, -22.83)
CIE-LCHlch(5.23, 27.57, 304.07°)
OKLaboklab(18.7% 0.0242 -0.0674)
OKLCHoklch(18.7% 0.072 289.8)
XYZxyz(0.9304, 0.5792, 2.8585)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A30 #26300A
analogous
#0A1330 #140A30 #270A30
triadic
#140A30 #30140A #0A3014
tetradic
#140A30 #300A13 #26300A #0A3027
square
#140A30 #300A13 #26300A #0A3027
split-complementary
#140A30 #30270A #13300A
monochromatic
#0B0519 #0B0519 #140A30 #291563 #3E1F95

Accessibility & contrast

On white

18.82
#140A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A30
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A30#FFFFFF#000000##FFFFFF
##140A301.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#0B131B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140a30;
/* rgb */ color: rgb(20, 10, 48);
/* oklch */ color: oklch(18.7% 0.072 289.8);
Tailwind
colors: {
  custom: {
    50: '#544a68',
    500: '#140a30',
    950: '#000000',
  },
}
SCSS
$custom: #140a30;
$custom-light: #544a68;
$custom-dark: #000000;
JSON
{
  "hex": "#140a30",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 255.789,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18699,
    "c": 0.07162,
    "h": 289.8
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#140A30
secondary
#5B6D29
accent
#E83FBC
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140A30

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

Preview Lab → · Contrast checker → · Palette generator →

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