#120328#120328

#120328 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.074 H 297.2°. Best body text is #FFFFFF at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#120328
RGBrgb(18, 3, 40)
HSLhsl(264, 86%, 8%)
HSVhsv(264, 93%, 16%)
CMYKcmyk(55%, 92.5%, 0%, 84.3%)
CIE-LABlab(3.13, 13.73, -20.12)
CIE-LCHlch(3.13, 24.36, 304.31°)
OKLaboklab(16.05% 0.0337 -0.0654)
OKLCHoklch(16.05% 0.074 297.2)
XYZxyz(0.6649, 0.3469, 2.0390)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120328 #192803
analogous
#030628 #120328 #240328
triadic
#120328 #281203 #032812
tetradic
#120328 #280306 #192803 #032824
square
#120328 #280306 #192803 #032824
split-complementary
#120328 #282403 #062803
monochromatic
#0D021C #0D021C #120328 #2C0761 #450C9A

Accessibility & contrast

On white

19.64
#120328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120328
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120328#FFFFFF#000000##FFFFFF
##1203281.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#000B27
Tritanopia (blue-blind)
#0C0B14
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #120328;
/* rgb */ color: rgb(18, 3, 40);
/* oklch */ color: oklch(16.0% 0.074 297.2);
Tailwind
colors: {
  custom: {
    50: '#504862',
    500: '#120328',
    950: '#000000',
  },
}
SCSS
$custom: #120328;
$custom-light: #504862;
$custom-dark: #000000;
JSON
{
  "hex": "#120328",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 264.324,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16047,
    "c": 0.07356,
    "h": 297.2
  },
  "luminance": 0.00347
}

Semantic roles & 50–950 ramp

primary
#120328
secondary
#4B6C1B
accent
#FC2CA8
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #120328

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

Preview Lab → · Contrast checker → · Palette generator →

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