#140948#140948

#140948 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.108 H 280.0°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#140948
RGBrgb(20, 9, 72)
HSLhsl(250, 78%, 16%)
HSVhsv(250, 88%, 28%)
CMYKcmyk(72.2%, 87.5%, 0%, 71.8%)
CIE-LABlab(7.33, 26.37, -36.73)
CIE-LCHlch(7.33, 45.22, 305.67°)
OKLaboklab(21.28% 0.0188 -0.1061)
OKLCHoklch(21.28% 0.108 280)
XYZxyz(1.5555, 0.8119, 6.2044)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140948 #3D4809
analogous
#091D48 #140948 #330948
triadic
#140948 #481409 #094814
tetradic
#140948 #48091D #3D4809 #094833
square
#140948 #48091D #3D4809 #094833
split-complementary
#140948 #483309 #1D4809
monochromatic
#08031B #08031B #140948 #23107E #3217B5

Accessibility & contrast

On white

18.07
#140948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140948
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140948#FFFFFF#000000##FFFFFF
##1409481.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140948;
/* rgb */ color: rgb(20, 9, 72);
/* oklch */ color: oklch(21.3% 0.108 280.0);
Tailwind
colors: {
  custom: {
    50: '#5b4a7c',
    500: '#140948',
    950: '#000000',
  },
}
SCSS
$custom: #140948;
$custom-light: #5b4a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140948",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 250.476,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21279,
    "c": 0.10779,
    "h": 280
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#140948
secondary
#758527
accent
#F434D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140948

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

Preview Lab → · Contrast checker → · Palette generator →

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