#140336#140336

#140336 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.092 H 290.0°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#140336
RGBrgb(20, 3, 54)
HSLhsl(260, 89%, 11%)
HSVhsv(260, 94%, 21%)
CMYKcmyk(63%, 94.4%, 0%, 78.8%)
CIE-LABlab(4.34, 21.42, -28.71)
CIE-LCHlch(4.34, 35.82, 306.72°)
OKLaboklab(18.02% 0.0315 -0.0864)
OKLCHoklch(18.02% 0.092 290)
XYZxyz(0.9867, 0.4801, 3.5300)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140336 #253603
analogous
#030B36 #140336 #2D0336
triadic
#140336 #361403 #033614
tetradic
#140336 #36030B #253603 #03362D
square
#140336 #36030B #253603 #03362D
split-complementary
#140336 #362D03 #0B3603
monochromatic
#0B021D #0B021D #140336 #290670 #3F09AA

Accessibility & contrast

On white

19.16
#140336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140336
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140336#FFFFFF#000000##FFFFFF
##1403361.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#07111C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #140336;
/* rgb */ color: rgb(20, 3, 54);
/* oklch */ color: oklch(18.0% 0.092 290.0);
Tailwind
colors: {
  custom: {
    50: '#55476d',
    500: '#140336',
    950: '#000000',
  },
}
SCSS
$custom: #140336;
$custom-light: #55476d;
$custom-dark: #000000;
JSON
{
  "hex": "#140336",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 260,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18017,
    "c": 0.09195,
    "h": 290
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#140336
secondary
#5A791C
accent
#FF29B8
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #140336

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

Preview Lab → · Contrast checker → · Palette generator →

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