#140833#140833

#140833 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.079 H 289.2°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#140833
RGBrgb(20, 8, 51)
HSLhsl(257, 73%, 12%)
HSVhsv(257, 84%, 20%)
CMYKcmyk(60.8%, 84.3%, 0%, 80%)
CIE-LABlab(5.07, 17.73, -25.32)
CIE-LCHlch(5.07, 30.91, 305.01°)
OKLaboklab(18.64% 0.0261 -0.0749)
OKLCHoklch(18.64% 0.079 289.2)
XYZxyz(0.9727, 0.5614, 3.1884)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140833 #273308
analogous
#081233 #140833 #2A0833
triadic
#140833 #331408 #083314
tetradic
#140833 #330812 #273308 #08332A
square
#140833 #330812 #273308 #08332A
split-complementary
#140833 #332A08 #123308
monochromatic
#0A041A #0A041A #140833 #291068 #3D199D

Accessibility & contrast

On white

18.88
#140833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140833
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140833#FFFFFF#000000##FFFFFF
##1408331.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001032
Tritanopia (blue-blind)
#09131C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140833;
/* rgb */ color: rgb(20, 8, 51);
/* oklch */ color: oklch(18.6% 0.079 289.2);
Tailwind
colors: {
  custom: {
    50: '#55496b',
    500: '#140833',
    950: '#000000',
  },
}
SCSS
$custom: #140833;
$custom-light: #55496b;
$custom-dark: #000000;
JSON
{
  "hex": "#140833",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 256.744,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1864,
    "c": 0.07937,
    "h": 289.2
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#140833
secondary
#5C7225
accent
#F038BC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140833

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

Preview Lab → · Contrast checker → · Palette generator →

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