#140634#140634

#140634 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.084 H 289.7°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#140634
RGBrgb(20, 6, 52)
HSLhsl(258, 79%, 11%)
HSVhsv(258, 88%, 20%)
CMYKcmyk(61.5%, 88.5%, 0%, 79.6%)
CIE-LABlab(4.76, 19.10, -26.56)
CIE-LCHlch(4.76, 32.71, 305.72°)
OKLaboklab(18.37% 0.0284 -0.0792)
OKLCHoklch(18.37% 0.084 289.7)
XYZxyz(0.9733, 0.5269, 3.2986)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140634 #263406
analogous
#060F34 #140634 #2B0634
triadic
#140634 #341406 #063414
tetradic
#140634 #34060F #263406 #06342B
square
#140634 #34060F #263406 #06342B
split-complementary
#140634 #342B06 #0F3406
monochromatic
#0B031B #0B031B #140634 #290C6B #3E13A2

Accessibility & contrast

On white

19.00
#140634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140634
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140634#FFFFFF#000000##FFFFFF
##1406341.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#000F33
Tritanopia (blue-blind)
#08121C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140634;
/* rgb */ color: rgb(20, 6, 52);
/* oklch */ color: oklch(18.4% 0.084 289.7);
Tailwind
colors: {
  custom: {
    50: '#55486c',
    500: '#140634',
    950: '#000000',
  },
}
SCSS
$custom: #140634;
$custom-light: #55486c;
$custom-dark: #000000;
JSON
{
  "hex": "#140634",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 258.261,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1837,
    "c": 0.08411,
    "h": 289.7
  },
  "luminance": 0.00527
}

Semantic roles & 50–950 ramp

primary
#140634
secondary
#5B7421
accent
#F632BA
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140634

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

Preview Lab → · Contrast checker → · Palette generator →

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