#140741#140741

#140741 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.101 H 283.0°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#140741
RGBrgb(20, 7, 65)
HSLhsl(253, 81%, 14%)
HSVhsv(253, 89%, 25%)
CMYKcmyk(69.2%, 89.2%, 0%, 74.5%)
CIE-LABlab(6.16, 24.61, -33.70)
CIE-LCHlch(6.16, 41.73, 306.13°)
OKLaboklab(20.11% 0.0227 -0.098)
OKLCHoklch(20.11% 0.101 283)
XYZxyz(1.3183, 0.6822, 5.0622)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140741 #344107
analogous
#071741 #140741 #310741
triadic
#140741 #411407 #074114
tetradic
#140741 #410717 #344107 #074131
square
#140741 #410717 #344107 #074131
split-complementary
#140741 #413107 #174107
monochromatic
#08031C #08031C #140741 #250D78 #3613B0

Accessibility & contrast

On white

18.48
#140741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140741
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140741#FFFFFF#000000##FFFFFF
##1407411.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140741;
/* rgb */ color: rgb(20, 7, 65);
/* oklch */ color: oklch(20.1% 0.101 283.0);
Tailwind
colors: {
  custom: {
    50: '#594976',
    500: '#140741',
    950: '#000000',
  },
}
SCSS
$custom: #140741;
$custom-light: #594976;
$custom-dark: #000000;
JSON
{
  "hex": "#140741",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 253.448,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20107,
    "c": 0.1006,
    "h": 283
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#140741
secondary
#6B8024
accent
#F731CB
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140741

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

Preview Lab → · Contrast checker → · Palette generator →

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