#120635#120635

#120635 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.086 H 286.5°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#120635
RGBrgb(18, 6, 53)
HSLhsl(255, 80%, 12%)
HSVhsv(255, 89%, 21%)
CMYKcmyk(66%, 88.7%, 0%, 79.2%)
CIE-LABlab(4.66, 18.92, -27.46)
CIE-LCHlch(4.66, 33.35, 304.56°)
OKLaboklab(18.25% 0.0243 -0.0821)
OKLCHoklch(18.25% 0.086 286.5)
XYZxyz(0.9570, 0.5158, 3.4166)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120635 #293506
analogous
#061235 #120635 #2A0635
triadic
#120635 #351206 #063512
tetradic
#120635 #350612 #293506 #06352A
square
#120635 #350612 #293506 #06352A
split-complementary
#120635 #352A06 #123506
monochromatic
#09031B #09031B #120635 #250C6C #3712A3

Accessibility & contrast

On white

19.04
#120635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#120635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120635
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120635#FFFFFF#000000##FFFFFF
##1206351.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #120635;
/* rgb */ color: rgb(18, 6, 53);
/* oklch */ color: oklch(18.2% 0.086 286.5);
Tailwind
colors: {
  custom: {
    50: '#54486d',
    500: '#120635',
    950: '#000000',
  },
}
SCSS
$custom: #120635;
$custom-light: #54486d;
$custom-dark: #000000;
JSON
{
  "hex": "#120635",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 255.319,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18245,
    "c": 0.08565,
    "h": 286.5
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#120635
secondary
#607521
accent
#F632C4
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #120635

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

Preview Lab → · Contrast checker → · Palette generator →

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