#140834#140834

#140834 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.081 H 288.7°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#140834
RGBrgb(20, 8, 52)
HSLhsl(256, 73%, 12%)
HSVhsv(256, 85%, 20%)
CMYKcmyk(61.5%, 84.6%, 0%, 79.6%)
CIE-LABlab(5.15, 18.21, -25.92)
CIE-LCHlch(5.15, 31.68, 305.08°)
OKLaboklab(18.75% 0.0259 -0.0766)
OKLCHoklch(18.75% 0.081 288.7)
XYZxyz(0.9950, 0.5703, 3.3058)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140834 #283408
analogous
#081234 #140834 #2A0834
triadic
#140834 #341408 #083414
tetradic
#140834 #340812 #283408 #08342A
square
#140834 #340812 #283408 #08342A
split-complementary
#140834 #342A08 #123408
monochromatic
#0A041B #0A041B #140834 #281069 #3D189E

Accessibility & contrast

On white

18.85
#140834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140834
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140834#FFFFFF#000000##FFFFFF
##1408341.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140834;
/* rgb */ color: rgb(20, 8, 52);
/* oklch */ color: oklch(18.8% 0.081 288.7);
Tailwind
colors: {
  custom: {
    50: '#55496c',
    500: '#140834',
    950: '#000000',
  },
}
SCSS
$custom: #140834;
$custom-light: #55496c;
$custom-dark: #000000;
JSON
{
  "hex": "#140834",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 256.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18751,
    "c": 0.08085,
    "h": 288.7
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#140834
secondary
#5E7325
accent
#F038BE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140834

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

Preview Lab → · Contrast checker → · Palette generator →

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