#140225#140225

#140225 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.073 H 304.2°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#140225
RGBrgb(20, 2, 37)
HSLhsl(271, 90%, 8%)
HSVhsv(271, 95%, 15%)
CMYKcmyk(45.9%, 94.6%, 0%, 85.5%)
CIE-LABlab(2.94, 13.70, -18.09)
CIE-LCHlch(2.94, 22.69, 307.15°)
OKLaboklab(15.76% 0.0409 -0.0602)
OKLCHoklch(15.76% 0.073 304.2)
XYZxyz(0.6441, 0.3257, 1.7788)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140225 #132502
analogous
#020225 #140225 #250224
triadic
#140225 #251402 #022514
tetradic
#140225 #250202 #132502 #022425
square
#140225 #250202 #132502 #022425
split-complementary
#140225 #242502 #022502
monochromatic
#10021D #10021D #140225 #33055F #530899

Accessibility & contrast

On white

19.71
#140225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140225
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140225#FFFFFF#000000##FFFFFF
##1402251.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A26
Deuteranopia (green-blind)
#000B24
Tritanopia (blue-blind)
#110912
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #140225;
/* rgb */ color: rgb(20, 2, 37);
/* oklch */ color: oklch(15.8% 0.073 304.2);
Tailwind
colors: {
  custom: {
    50: '#51475f',
    500: '#140225',
    950: '#000000',
  },
}
SCSS
$custom: #140225;
$custom-light: #51475f;
$custom-dark: #000000;
JSON
{
  "hex": "#140225",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 270.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15764,
    "c": 0.07276,
    "h": 304.2
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#140225
secondary
#406A18
accent
#FF2991
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #140225

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

Preview Lab → · Contrast checker → · Palette generator →

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