#12032F#12032F

#12032F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.083 H 291.8°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#12032F
RGBrgb(18, 3, 47)
HSLhsl(260, 88%, 10%)
HSVhsv(260, 94%, 18%)
CMYKcmyk(61.7%, 93.6%, 0%, 81.6%)
CIE-LABlab(3.60, 17.04, -24.69)
CIE-LCHlch(3.60, 30.00, 304.60°)
OKLaboklab(16.88% 0.0308 -0.0769)
OKLCHoklch(16.88% 0.083 291.8)
XYZxyz(0.7950, 0.3989, 2.7239)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12032F #202F03
analogous
#030A2F #12032F #28032F
triadic
#12032F #2F1203 #032F12
tetradic
#12032F #2F030A #202F03 #032F28
square
#12032F #2F030A #202F03 #032F28
split-complementary
#12032F #2F2803 #0A2F03
monochromatic
#0B021D #0B021D #12032F #280769 #3E0AA2

Accessibility & contrast

On white

19.45
#12032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#12032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12032F
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12032F#FFFFFF#000000##FFFFFF
##12032F1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#080E18
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #12032f;
/* rgb */ color: rgb(18, 3, 47);
/* oklch */ color: oklch(16.9% 0.083 291.8);
Tailwind
colors: {
  custom: {
    50: '#524768',
    500: '#12032f',
    950: '#000000',
  },
}
SCSS
$custom: #12032f;
$custom-light: #524768;
$custom-dark: #000000;
JSON
{
  "hex": "#12032f",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 260.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16881,
    "c": 0.08287,
    "h": 291.8
  },
  "luminance": 0.00399
}

Semantic roles & 50–950 ramp

primary
#12032F
secondary
#55731B
accent
#FE2AB6
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #12032F

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

Preview Lab → · Contrast checker → · Palette generator →

#12032F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva