#140537#140537

#140537 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.090 H 288.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#140537
RGBrgb(20, 5, 55)
HSLhsl(258, 83%, 12%)
HSVhsv(258, 91%, 22%)
CMYKcmyk(63.6%, 90.9%, 0%, 78.4%)
CIE-LABlab(4.81, 21.00, -28.67)
CIE-LCHlch(4.81, 35.54, 306.22°)
OKLaboklab(18.53% 0.0286 -0.0852)
OKLCHoklch(18.53% 0.09 288.5)
XYZxyz(1.0321, 0.5330, 3.6622)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140537 #283705
analogous
#050F37 #140537 #2D0537
triadic
#140537 #371405 #053714
tetradic
#140537 #37050F #283705 #05372D
square
#140537 #37050F #283705 #05372D
split-complementary
#140537 #372D05 #0F3705
monochromatic
#0A031C #0A031C #140537 #280A6F #3D0FA7

Accessibility & contrast

On white

18.98
#140537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140537
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140537#FFFFFF#000000##FFFFFF
##1405371.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#06131E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140537;
/* rgb */ color: rgb(20, 5, 55);
/* oklch */ color: oklch(18.5% 0.090 288.5);
Tailwind
colors: {
  custom: {
    50: '#56486e',
    500: '#140537',
    950: '#000000',
  },
}
SCSS
$custom: #140537;
$custom-light: #56486e;
$custom-dark: #000000;
JSON
{
  "hex": "#140537",
  "rgb": {
    "r": 20,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 258,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18532,
    "c": 0.08988,
    "h": 288.5
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#140537
secondary
#5E7820
accent
#FA2EBD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140537

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

Preview Lab → · Contrast checker → · Palette generator →

#140537 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva