#140226#140226

#140226 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.074 H 303.2°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#140226
RGBrgb(20, 2, 38)
HSLhsl(270, 90%, 8%)
HSVhsv(270, 95%, 15%)
CMYKcmyk(47.4%, 94.7%, 0%, 85.1%)
CIE-LABlab(3.00, 14.11, -18.78)
CIE-LCHlch(3.00, 23.48, 306.92°)
OKLaboklab(15.88% 0.0405 -0.0619)
OKLCHoklch(15.88% 0.074 303.2)
XYZxyz(0.6600, 0.3321, 1.8627)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140226 #142602
analogous
#020226 #140226 #260226
triadic
#140226 #261402 #022614
tetradic
#140226 #260202 #142602 #022626
square
#140226 #260202 #142602 #022626
split-complementary
#140226 #262602 #022602
monochromatic
#0F021D #0F021D #140226 #330560 #51089A

Accessibility & contrast

On white

19.69
#140226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#140226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140226
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140226#FFFFFF#000000##FFFFFF
##1402261.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B27
Deuteranopia (green-blind)
#000B25
Tritanopia (blue-blind)
#100913
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #140226;
/* rgb */ color: rgb(20, 2, 38);
/* oklch */ color: oklch(15.9% 0.074 303.2);
Tailwind
colors: {
  custom: {
    50: '#514760',
    500: '#140226',
    950: '#000000',
  },
}
SCSS
$custom: #140226;
$custom-light: #514760;
$custom-dark: #000000;
JSON
{
  "hex": "#140226",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 270,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.15875,
    "c": 0.07398,
    "h": 303.2
  },
  "luminance": 0.00332
}

Semantic roles & 50–950 ramp

primary
#140226
secondary
#426B18
accent
#FF2994
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #140226

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

Preview Lab → · Contrast checker → · Palette generator →

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