#140734#140734

#140734 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.082 H 289.2°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#140734
RGBrgb(20, 7, 52)
HSLhsl(257, 76%, 12%)
HSVhsv(257, 87%, 20%)
CMYKcmyk(61.5%, 86.5%, 0%, 79.6%)
CIE-LABlab(4.96, 18.65, -26.24)
CIE-LCHlch(4.96, 32.19, 305.41°)
OKLaboklab(18.56% 0.0271 -0.0779)
OKLCHoklch(18.56% 0.082 289.2)
XYZxyz(0.9841, 0.5486, 3.3022)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140734 #273407
analogous
#071134 #140734 #2B0734
triadic
#140734 #341407 #073414
tetradic
#140734 #340711 #273407 #07342B
square
#140734 #340711 #273407 #07342B
split-complementary
#140734 #342B07 #113407
monochromatic
#0A041B #0A041B #140734 #290E6A #3D16A0

Accessibility & contrast

On white

18.92
#140734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140734
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140734#FFFFFF#000000##FFFFFF
##1407341.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#08131C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140734;
/* rgb */ color: rgb(20, 7, 52);
/* oklch */ color: oklch(18.6% 0.082 289.2);
Tailwind
colors: {
  custom: {
    50: '#55496c',
    500: '#140734',
    950: '#000000',
  },
}
SCSS
$custom: #140734;
$custom-light: #55496c;
$custom-dark: #000000;
JSON
{
  "hex": "#140734",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 257.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18562,
    "c": 0.08245,
    "h": 289.2
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#140734
secondary
#5C7423
accent
#F335BC
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140734

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

Preview Lab → · Contrast checker → · Palette generator →

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