#140346#140346

#140346 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.112 H 282.3°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#140346
RGBrgb(20, 3, 70)
HSLhsl(255, 92%, 14%)
HSVhsv(255, 96%, 27%)
CMYKcmyk(71.4%, 95.7%, 0%, 72.5%)
CIE-LABlab(5.92, 28.82, -37.64)
CIE-LCHlch(5.92, 47.41, 307.44°)
OKLaboklab(20.1% 0.0239 -0.1096)
OKLCHoklch(20.1% 0.112 282.3)
XYZxyz(1.4262, 0.6559, 5.8446)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140346 #354603
analogous
#031446 #140346 #360346
triadic
#140346 #461403 #034614
tetradic
#140346 #460314 #354603 #034636
square
#140346 #460314 #354603 #034636
split-complementary
#140346 #463603 #144603
monochromatic
#08011D #08011D #140346 #250681 #3608BB

Accessibility & contrast

On white

18.56
#140346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140346
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140346#FFFFFF#000000##FFFFFF
##1403461.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#001145
Tritanopia (blue-blind)
#001826
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140346;
/* rgb */ color: rgb(20, 3, 70);
/* oklch */ color: oklch(20.1% 0.112 282.3);
Tailwind
colors: {
  custom: {
    50: '#5b477a',
    500: '#140346',
    950: '#000000',
  },
}
SCSS
$custom: #140346;
$custom-light: #5b477a;
$custom-dark: #000000;
JSON
{
  "hex": "#140346",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 255.224,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20103,
    "c": 0.11217,
    "h": 282.3
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#140346
secondary
#6C871D
accent
#FF29C9
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #140346

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

Preview Lab → · Contrast checker → · Palette generator →

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