#120435#120435

#120435 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.089 H 287.5°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#120435
RGBrgb(18, 4, 53)
HSLhsl(257, 86%, 11%)
HSVhsv(257, 92%, 21%)
CMYKcmyk(66%, 92.5%, 0%, 79.2%)
CIE-LABlab(4.27, 19.79, -28.09)
CIE-LCHlch(4.27, 34.36, 305.16°)
OKLaboklab(17.84% 0.0268 -0.0849)
OKLCHoklch(17.84% 0.089 287.5)
XYZxyz(0.9353, 0.4724, 3.4094)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120435 #273504
analogous
#040E35 #120435 #2A0435
triadic
#120435 #351204 #043512
tetradic
#120435 #35040E #273504 #04352A
square
#120435 #35040E #273504 #04352A
split-complementary
#120435 #352A04 #0E3504
monochromatic
#0A021C #0A021C #120435 #25086E #390DA7

Accessibility & contrast

On white

19.19
#120435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120435
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120435#FFFFFF#000000##FFFFFF
##1204351.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000D34
Tritanopia (blue-blind)
#04121C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #120435;
/* rgb */ color: rgb(18, 4, 53);
/* oklch */ color: oklch(17.8% 0.089 287.5);
Tailwind
colors: {
  custom: {
    50: '#54476d',
    500: '#120435',
    950: '#000000',
  },
}
SCSS
$custom: #120435;
$custom-light: #54476d;
$custom-dark: #000000;
JSON
{
  "hex": "#120435",
  "rgb": {
    "r": 18,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 257.143,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17843,
    "c": 0.08899,
    "h": 287.5
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#120435
secondary
#5E771E
accent
#FC2CC1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #120435

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

Preview Lab → · Contrast checker → · Palette generator →

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