#120835#120835

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

Color values

HEX#120835
RGBrgb(18, 8, 53)
HSLhsl(253, 74%, 12%)
HSVhsv(253, 85%, 21%)
CMYKcmyk(66%, 84.9%, 0%, 79.2%)
CIE-LABlab(5.05, 18.04, -26.83)
CIE-LCHlch(5.05, 32.33, 303.91°)
OKLaboklab(18.63% 0.022 -0.0795)
OKLCHoklch(18.63% 0.083 285.5)
XYZxyz(0.9787, 0.5592, 3.4238)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120835 #2B3508
analogous
#081535 #120835 #290835
triadic
#120835 #351208 #083512
tetradic
#120835 #350815 #2B3508 #083529
square
#120835 #350815 #2B3508 #083529
split-complementary
#120835 #352908 #153508
monochromatic
#09041B #09041B #120835 #24106A #36189F

Accessibility & contrast

On white

18.89
#120835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120835
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120835#FFFFFF#000000##FFFFFF
##1208351.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#03141D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120835;
/* rgb */ color: rgb(18, 8, 53);
/* oklch */ color: oklch(18.6% 0.083 285.5);
Tailwind
colors: {
  custom: {
    50: '#54496d',
    500: '#120835',
    950: '#000000',
  },
}
SCSS
$custom: #120835;
$custom-light: #54496d;
$custom-dark: #000000;
JSON
{
  "hex": "#120835",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 253.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18631,
    "c": 0.0825,
    "h": 285.5
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#120835
secondary
#627425
accent
#F037C7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120835

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

Preview Lab → · Contrast checker → · Palette generator →

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