#140641#140641

#140641 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.102 H 283.4°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#140641
RGBrgb(20, 6, 65)
HSLhsl(254, 83%, 14%)
HSVhsv(254, 91%, 25%)
CMYKcmyk(69.2%, 90.8%, 0%, 74.5%)
CIE-LABlab(5.97, 25.12, -34.03)
CIE-LCHlch(5.97, 42.29, 306.44°)
OKLaboklab(19.94% 0.0236 -0.0991)
OKLCHoklch(19.94% 0.102 283.4)
XYZxyz(1.3075, 0.6605, 5.0586)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140641 #334106
analogous
#061641 #140641 #320641
triadic
#140641 #411406 #064114
tetradic
#140641 #410616 #334106 #064132
square
#140641 #410616 #334106 #064132
split-complementary
#140641 #413206 #164106
monochromatic
#09031C #09031C #140641 #250B79 #3610B1

Accessibility & contrast

On white

18.55
#140641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140641
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140641#FFFFFF#000000##FFFFFF
##1406411.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140641;
/* rgb */ color: rgb(20, 6, 65);
/* oklch */ color: oklch(19.9% 0.102 283.4);
Tailwind
colors: {
  custom: {
    50: '#594876',
    500: '#140641',
    950: '#000000',
  },
}
SCSS
$custom: #140641;
$custom-light: #594876;
$custom-dark: #000000;
JSON
{
  "hex": "#140641",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 254.237,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.10188,
    "h": 283.4
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#140641
secondary
#6A8122
accent
#F92EC9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #140641

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

Preview Lab → · Contrast checker → · Palette generator →

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