#120735#120735

#120735 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.084 H 286.0°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#120735
RGBrgb(18, 7, 53)
HSLhsl(254, 77%, 12%)
HSVhsv(254, 87%, 21%)
CMYKcmyk(66%, 86.8%, 0%, 79.2%)
CIE-LABlab(4.86, 18.48, -27.15)
CIE-LCHlch(4.86, 32.84, 304.24°)
OKLaboklab(18.44% 0.0231 -0.0808)
OKLCHoklch(18.44% 0.084 286)
XYZxyz(0.9678, 0.5375, 3.4202)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120735 #2A3507
analogous
#071335 #120735 #290735
triadic
#120735 #351207 #073512
tetradic
#120735 #350713 #2A3507 #073529
square
#120735 #350713 #2A3507 #073529
split-complementary
#120735 #352907 #133507
monochromatic
#09041B #09041B #120735 #240E6B #3715A1

Accessibility & contrast

On white

18.96
#120735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120735
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120735#FFFFFF#000000##FFFFFF
##1207351.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#04141D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120735;
/* rgb */ color: rgb(18, 7, 53);
/* oklch */ color: oklch(18.4% 0.084 286.0);
Tailwind
colors: {
  custom: {
    50: '#54496d',
    500: '#120735',
    950: '#000000',
  },
}
SCSS
$custom: #120735;
$custom-light: #54496d;
$custom-dark: #000000;
JSON
{
  "hex": "#120735",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 254.348,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1844,
    "c": 0.08405,
    "h": 286
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#120735
secondary
#617523
accent
#F335C6
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #120735

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

Preview Lab → · Contrast checker → · Palette generator →

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