#120930#120930

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

Color values

HEX#120930
RGBrgb(18, 9, 48)
HSLhsl(254, 68%, 11%)
HSVhsv(254, 81%, 19%)
CMYKcmyk(62.5%, 81.3%, 0%, 81.2%)
CIE-LABlab(4.85, 15.13, -23.45)
CIE-LCHlch(4.85, 27.90, 302.82°)
OKLaboklab(18.27% 0.022 -0.07)
OKLCHoklch(18.27% 0.073 287.4)
XYZxyz(0.8805, 0.5373, 2.8531)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120930 #273009
analogous
#091330 #120930 #250930
triadic
#120930 #301209 #093012
tetradic
#120930 #300913 #273009 #093025
square
#120930 #300913 #273009 #093025
split-complementary
#120930 #302509 #133009
monochromatic
#0A051A #0A051A #120930 #251364 #391C97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #120930;
/* rgb */ color: rgb(18, 9, 48);
/* oklch */ color: oklch(18.3% 0.073 287.4);
Tailwind
colors: {
  custom: {
    50: '#524a68',
    500: '#120930',
    950: '#000000',
  },
}
SCSS
$custom: #120930;
$custom-light: #524a68;
$custom-dark: #000000;
JSON
{
  "hex": "#120930",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 253.846,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18269,
    "c": 0.07333,
    "h": 287.4
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#120930
secondary
#5E6E27
accent
#EB3DC3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120930

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

Preview Lab → · Contrast checker → · Palette generator →

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