#140A28#140A28

#140A28 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.9% C 0.059 H 295.2°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#140A28
RGBrgb(20, 10, 40)
HSLhsl(260, 60%, 10%)
HSVhsv(260, 75%, 16%)
CMYKcmyk(50%, 75%, 0%, 84.3%)
CIE-LABlab(4.69, 11.74, -17.68)
CIE-LCHlch(4.69, 21.22, 303.59°)
OKLaboklab(17.92% 0.025 -0.0533)
OKLCHoklch(17.92% 0.059 295.2)
XYZxyz(0.7799, 0.5190, 2.0662)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A28 #1E280A
analogous
#0A0F28 #140A28 #230A28
triadic
#140A28 #28140A #0A2814
tetradic
#140A28 #280A0F #1E280A #0A2823
square
#140A28 #280A0F #1E280A #0A2823
split-complementary
#140A28 #28230A #0F280A
monochromatic
#0C0618 #0C0618 #140A28 #2C1659 #45228A

Accessibility & contrast

On white

19.03
#140A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#140A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A28
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A28#FFFFFF#000000##FFFFFF
##140A281.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#011027
Tritanopia (blue-blind)
#0F1117
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140a28;
/* rgb */ color: rgb(20, 10, 40);
/* oklch */ color: oklch(17.9% 0.059 295.2);
Tailwind
colors: {
  custom: {
    50: '#524b62',
    500: '#140a28',
    950: '#000000',
  },
}
SCSS
$custom: #140a28;
$custom-light: #524b62;
$custom-dark: #000000;
JSON
{
  "hex": "#140a28",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 40
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17919,
    "c": 0.05884,
    "h": 295.2
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#140A28
secondary
#516529
accent
#E345AE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #140A28

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

Preview Lab → · Contrast checker → · Palette generator →

#140A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva