#120630#120630

#120630 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.078 H 289.3°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#120630
RGBrgb(18, 6, 48)
HSLhsl(257, 78%, 11%)
HSVhsv(257, 88%, 19%)
CMYKcmyk(62.5%, 87.5%, 0%, 81.2%)
CIE-LABlab(4.27, 16.35, -24.39)
CIE-LCHlch(4.27, 29.36, 303.83°)
OKLaboklab(17.66% 0.0259 -0.0741)
OKLCHoklch(17.66% 0.078 289.3)
XYZxyz(0.8479, 0.4722, 2.8422)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120630 #243006
analogous
#060F30 #120630 #270630
triadic
#120630 #301206 #063012
tetradic
#120630 #30060F #243006 #063027
square
#120630 #30060F #243006 #063027
split-complementary
#120630 #302706 #0F3006
monochromatic
#0A031B #0A031B #120630 #260D66 #3B149D

Accessibility & contrast

On white

19.19
#120630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#120630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120630
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120630#FFFFFF#000000##FFFFFF
##1206301.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#07111A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #120630;
/* rgb */ color: rgb(18, 6, 48);
/* oklch */ color: oklch(17.7% 0.078 289.3);
Tailwind
colors: {
  custom: {
    50: '#524969',
    500: '#120630',
    950: '#000000',
  },
}
SCSS
$custom: #120630;
$custom-light: #524969;
$custom-dark: #000000;
JSON
{
  "hex": "#120630",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 257.143,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.1766,
    "c": 0.07847,
    "h": 289.3
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#120630
secondary
#5A7121
accent
#F434BD
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #120630

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

Preview Lab → · Contrast checker → · Palette generator →

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