#140333#140333

#140333 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.088 H 291.9°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#140333
RGBrgb(20, 3, 51)
HSLhsl(261, 89%, 11%)
HSVhsv(261, 94%, 20%)
CMYKcmyk(60.8%, 94.1%, 0%, 80%)
CIE-LABlab(4.09, 19.90, -26.89)
CIE-LCHlch(4.09, 33.45, 306.50°)
OKLaboklab(17.64% 0.0329 -0.0817)
OKLCHoklch(17.64% 0.088 291.9)
XYZxyz(0.9184, 0.4528, 3.1703)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140333 #223303
analogous
#030A33 #140333 #2C0333
triadic
#140333 #331403 #033314
tetradic
#140333 #33030A #223303 #03332C
square
#140333 #33030A #223303 #03332C
split-complementary
#140333 #332C03 #0A3303
monochromatic
#0B021D #0B021D #140333 #2B066D #410AA7

Accessibility & contrast

On white

19.26
#140333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140333
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140333#FFFFFF#000000##FFFFFF
##1403331.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F34
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#09101B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #140333;
/* rgb */ color: rgb(20, 3, 51);
/* oklch */ color: oklch(17.6% 0.088 291.9);
Tailwind
colors: {
  custom: {
    50: '#55476b',
    500: '#140333',
    950: '#000000',
  },
}
SCSS
$custom: #140333;
$custom-light: #55476b;
$custom-dark: #000000;
JSON
{
  "hex": "#140333",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 261.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17644,
    "c": 0.08811,
    "h": 291.9
  },
  "luminance": 0.00453
}

Semantic roles & 50–950 ramp

primary
#140333
secondary
#56761C
accent
#FF29B3
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140333

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

Preview Lab → · Contrast checker → · Palette generator →

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