#140239#140239

#140239 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.097 H 288.7°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#140239
RGBrgb(20, 2, 57)
HSLhsl(260, 93%, 12%)
HSVhsv(260, 96%, 22%)
CMYKcmyk(64.9%, 96.5%, 0%, 77.6%)
CIE-LABlab(4.40, 23.36, -30.80)
CIE-LCHlch(4.40, 38.65, 307.18°)
OKLaboklab(18.2% 0.0313 -0.0923)
OKLCHoklch(18.2% 0.097 288.7)
XYZxyz(1.0485, 0.4875, 3.9089)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140239 #273902
analogous
#020C39 #140239 #300239
triadic
#140239 #391402 #023914
tetradic
#140239 #39020C #273902 #023930
square
#140239 #39020C #273902 #023930
split-complementary
#140239 #393002 #0C3902
monochromatic
#0A011E #0A011E #140239 #290474 #3D06AF

Accessibility & contrast

On white

19.13
#140239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#140239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140239
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140239#FFFFFF#000000##FFFFFF
##1402391.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#05121E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #140239;
/* rgb */ color: rgb(20, 2, 57);
/* oklch */ color: oklch(18.2% 0.097 288.7);
Tailwind
colors: {
  custom: {
    50: '#564670',
    500: '#140239',
    950: '#000000',
  },
}
SCSS
$custom: #140239;
$custom-light: #564670;
$custom-dark: #000000;
JSON
{
  "hex": "#140239",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 259.636,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18201,
    "c": 0.09745,
    "h": 288.7
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#140239
secondary
#5C7D1A
accent
#FF29B9
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140239

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

Preview Lab → · Contrast checker → · Palette generator →

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