#120641#120641

#120641 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.102 H 281.2°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#120641
RGBrgb(18, 6, 65)
HSLhsl(252, 83%, 14%)
HSVhsv(252, 91%, 25%)
CMYKcmyk(72.3%, 90.8%, 0%, 74.5%)
CIE-LABlab(5.78, 24.70, -34.33)
CIE-LCHlch(5.78, 42.29, 305.73°)
OKLaboklab(19.73% 0.0199 -0.1003)
OKLCHoklch(19.73% 0.102 281.2)
XYZxyz(1.2684, 0.6404, 5.0568)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120641 #354106
analogous
#061841 #120641 #300641
triadic
#120641 #411206 #064112
tetradic
#120641 #410618 #354106 #064130
square
#120641 #410618 #354106 #064130
split-complementary
#120641 #413006 #184106
monochromatic
#08031C #08031C #120641 #220B79 #3110B1

Accessibility & contrast

On white

18.61
#120641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#120641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120641
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120641#FFFFFF#000000##FFFFFF
##1206411.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120641;
/* rgb */ color: rgb(18, 6, 65);
/* oklch */ color: oklch(19.7% 0.102 281.2);
Tailwind
colors: {
  custom: {
    50: '#584876',
    500: '#120641',
    950: '#000000',
  },
}
SCSS
$custom: #120641;
$custom-light: #584876;
$custom-dark: #000000;
JSON
{
  "hex": "#120641",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 252.203,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19734,
    "c": 0.10224,
    "h": 281.2
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#120641
secondary
#6D8122
accent
#F92ED0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #120641

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

Preview Lab → · Contrast checker → · Palette generator →

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