#140233#140233

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

Color values

HEX#140233
RGBrgb(20, 2, 51)
HSLhsl(262, 92%, 10%)
HSVhsv(262, 96%, 20%)
CMYKcmyk(60.8%, 96.1%, 0%, 80%)
CIE-LABlab(3.89, 20.33, -27.21)
CIE-LCHlch(3.89, 33.96, 306.77°)
OKLaboklab(17.43% 0.0344 -0.0832)
OKLCHoklch(17.43% 0.09 292.5)
XYZxyz(0.9076, 0.4311, 3.1667)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140233 #213302
analogous
#020833 #140233 #2C0233
triadic
#140233 #331402 #023314
tetradic
#140233 #330208 #213302 #02332C
square
#140233 #330208 #213302 #02332C
split-complementary
#140233 #332C02 #083302
monochromatic
#0C011D #0C011D #140233 #2B046E #4207A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140233#FFFFFF#000000##FFFFFF
##1402331.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)
#000E34
Deuteranopia (green-blind)
#000D32
Tritanopia (blue-blind)
#090F1A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #140233;
/* rgb */ color: rgb(20, 2, 51);
/* oklch */ color: oklch(17.4% 0.090 292.5);
Tailwind
colors: {
  custom: {
    50: '#54466b',
    500: '#140233',
    950: '#000000',
  },
}
SCSS
$custom: #140233;
$custom-light: #54466b;
$custom-dark: #000000;
JSON
{
  "hex": "#140233",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 262.041,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17431,
    "c": 0.09003,
    "h": 292.5
  },
  "luminance": 0.00431
}

Semantic roles & 50–950 ramp

primary
#140233
secondary
#55771A
accent
#FF29B0
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140233

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

Preview Lab → · Contrast checker → · Palette generator →

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