#140628#140628

#140628 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.067 H 298.3°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#140628
RGBrgb(20, 6, 40)
HSLhsl(265, 74%, 9%)
HSVhsv(265, 85%, 16%)
CMYKcmyk(50%, 85%, 0%, 84.3%)
CIE-LABlab(3.90, 13.34, -18.90)
CIE-LCHlch(3.90, 23.14, 305.21°)
OKLaboklab(17.06% 0.0317 -0.0589)
OKLCHoklch(17.06% 0.067 298.3)
XYZxyz(0.7365, 0.4322, 2.0517)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140628 #1A2806
analogous
#060928 #140628 #250628
triadic
#140628 #281406 #062814
tetradic
#140628 #280609 #1A2806 #062825
square
#140628 #280609 #1A2806 #062825
split-complementary
#140628 #282506 #092806
monochromatic
#0D041B #0D041B #140628 #2F0E5D #491692

Accessibility & contrast

On white

19.33
#140628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#140628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140628
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140628#FFFFFF#000000##FFFFFF
##1406281.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#0F0E15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #140628;
/* rgb */ color: rgb(20, 6, 40);
/* oklch */ color: oklch(17.1% 0.067 298.3);
Tailwind
colors: {
  custom: {
    50: '#524962',
    500: '#140628',
    950: '#000000',
  },
}
SCSS
$custom: #140628;
$custom-light: #524962;
$custom-dark: #000000;
JSON
{
  "hex": "#140628",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 264.706,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17059,
    "c": 0.0669,
    "h": 298.3
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#140628
secondary
#4B6921
accent
#F137A4
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #140628

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

Preview Lab → · Contrast checker → · Palette generator →

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