#140230#140230

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

Color values

HEX#140230
RGBrgb(20, 2, 48)
HSLhsl(263, 92%, 10%)
HSVhsv(263, 96%, 19%)
CMYKcmyk(58.3%, 95.8%, 0%, 81.2%)
CIE-LABlab(3.66, 18.77, -25.34)
CIE-LCHlch(3.66, 31.53, 306.53°)
OKLaboklab(17.06% 0.0359 -0.0785)
OKLCHoklch(17.06% 0.086 294.6)
XYZxyz(0.8436, 0.4055, 2.8296)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140230 #1E3002
analogous
#020730 #140230 #2B0230
triadic
#140230 #301402 #023014
tetradic
#140230 #300207 #1E3002 #02302B
square
#140230 #300207 #1E3002 #02302B
split-complementary
#140230 #302B02 #073002
monochromatic
#0C011D #0C011D #140230 #2C046B #4507A6

Accessibility & contrast

On white

19.42
#140230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#140230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140230
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140230#FFFFFF#000000##FFFFFF
##1402301.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#0B0E19
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #140230;
/* rgb */ color: rgb(20, 2, 48);
/* oklch */ color: oklch(17.1% 0.086 294.6);
Tailwind
colors: {
  custom: {
    50: '#544769',
    500: '#140230',
    950: '#000000',
  },
}
SCSS
$custom: #140230;
$custom-light: #544769;
$custom-dark: #000000;
JSON
{
  "hex": "#140230",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 263.478,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17057,
    "c": 0.08632,
    "h": 294.6
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#140230
secondary
#517519
accent
#FF29AB
background
#F4F3F6
surface
#E8E5EB
border
#C4C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140230

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

Preview Lab → · Contrast checker → · Palette generator →

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