#120830#120830

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

Color values

HEX#120830
RGBrgb(18, 8, 48)
HSLhsl(255, 71%, 11%)
HSVhsv(255, 83%, 19%)
CMYKcmyk(62.5%, 83.3%, 0%, 81.2%)
CIE-LABlab(4.66, 15.54, -23.76)
CIE-LCHlch(4.66, 28.39, 303.18°)
OKLaboklab(18.07% 0.0232 -0.0713)
OKLCHoklch(18.07% 0.075 288.1)
XYZxyz(0.8696, 0.5156, 2.8494)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120830 #263008
analogous
#081230 #120830 #260830
triadic
#120830 #301208 #083012
tetradic
#120830 #300812 #263008 #083026
square
#120830 #300812 #263008 #083026
split-complementary
#120830 #302608 #123008
monochromatic
#0A041A #0A041A #120830 #261164 #391999

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##120830#FFFFFF#000000##FFFFFF
##1208301.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)
#001131
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#07121B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120830;
/* rgb */ color: rgb(18, 8, 48);
/* oklch */ color: oklch(18.1% 0.075 288.1);
Tailwind
colors: {
  custom: {
    50: '#524a68',
    500: '#120830',
    950: '#000000',
  },
}
SCSS
$custom: #120830;
$custom-light: #524a68;
$custom-dark: #000000;
JSON
{
  "hex": "#120830",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 255,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18071,
    "c": 0.07499,
    "h": 288.1
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#120830
secondary
#5C6F25
accent
#EE3AC1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120830

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

Preview Lab → · Contrast checker → · Palette generator →

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