#120130#120130

#120130 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.088 H 292.3°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#120130
RGBrgb(18, 1, 48)
HSLhsl(262, 96%, 10%)
HSVhsv(262, 98%, 19%)
CMYKcmyk(62.5%, 97.9%, 0%, 81.2%)
CIE-LABlab(3.29, 18.35, -25.95)
CIE-LCHlch(3.29, 31.79, 305.27°)
OKLaboklab(16.54% 0.0336 -0.0817)
OKLCHoklch(16.54% 0.088 292.3)
XYZxyz(0.7937, 0.3637, 2.8241)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120130 #1F3001
analogous
#010830 #120130 #2A0130
triadic
#120130 #301201 #013012
tetradic
#120130 #300108 #1F3001 #01302A
square
#120130 #300108 #1F3001 #01302A
split-complementary
#120130 #302A01 #083001
monochromatic
#0B011E #0B011E #120130 #28026C #3F03A8

Accessibility & contrast

On white

19.57
#120130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#120130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120130
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120130#FFFFFF#000000##FFFFFF
##1201301.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#000B2F
Tritanopia (blue-blind)
#080D18
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #120130;
/* rgb */ color: rgb(18, 1, 48);
/* oklch */ color: oklch(16.5% 0.088 292.3);
Tailwind
colors: {
  custom: {
    50: '#524669',
    500: '#120130',
    950: '#000000',
  },
}
SCSS
$custom: #120130;
$custom-light: #524669;
$custom-dark: #000000;
JSON
{
  "hex": "#120130",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 261.702,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16539,
    "c": 0.08837,
    "h": 292.3
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#120130
secondary
#537617
accent
#FF29B2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #120130

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

Preview Lab → · Contrast checker → · Palette generator →

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