#140635#140635

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

Color values

HEX#140635
RGBrgb(20, 6, 53)
HSLhsl(258, 80%, 12%)
HSVhsv(258, 89%, 21%)
CMYKcmyk(62.3%, 88.7%, 0%, 79.2%)
CIE-LABlab(4.84, 19.58, -27.16)
CIE-LCHlch(4.84, 33.48, 305.79°)
OKLaboklab(18.49% 0.0281 -0.0808)
OKLCHoklch(18.49% 0.086 289.2)
XYZxyz(0.9960, 0.5360, 3.4184)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140635 #273506
analogous
#061035 #140635 #2C0635
triadic
#140635 #351406 #063514
tetradic
#140635 #350610 #273506 #06352C
square
#140635 #350610 #273506 #06352C
split-complementary
#140635 #352C06 #103506
monochromatic
#0A031B #0A031B #140635 #290C6C #3D12A3

Accessibility & contrast

On white

18.97
#140635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140635
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140635#FFFFFF#000000##FFFFFF
##1406351.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#08131D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140635;
/* rgb */ color: rgb(20, 6, 53);
/* oklch */ color: oklch(18.5% 0.086 289.2);
Tailwind
colors: {
  custom: {
    50: '#55486d',
    500: '#140635',
    950: '#000000',
  },
}
SCSS
$custom: #140635;
$custom-light: #55486d;
$custom-dark: #000000;
JSON
{
  "hex": "#140635",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 257.872,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18486,
    "c": 0.0855,
    "h": 289.2
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#140635
secondary
#5C7521
accent
#F632BC
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140635

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

Preview Lab → · Contrast checker → · Palette generator →

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