#12032B#12032B

#12032B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.078 H 294.8°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#12032B
RGBrgb(18, 3, 43)
HSLhsl(263, 87%, 9%)
HSVhsv(263, 93%, 17%)
CMYKcmyk(58.1%, 93%, 0%, 83.1%)
CIE-LABlab(3.33, 15.08, -22.11)
CIE-LCHlch(3.33, 26.76, 304.28°)
OKLaboklab(16.4% 0.0325 -0.0704)
OKLCHoklch(16.4% 0.078 294.8)
XYZxyz(0.7179, 0.3681, 2.3183)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12032B #1C2B03
analogous
#03082B #12032B #26032B
triadic
#12032B #2B1203 #032B12
tetradic
#12032B #2B0308 #1C2B03 #032B26
square
#12032B #2B0308 #1C2B03 #032B26
split-complementary
#12032B #2B2603 #082B03
monochromatic
#0C021D #0C021D #12032B #2A0764 #420B9D

Accessibility & contrast

On white

19.56
#12032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#12032B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12032B
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12032B#FFFFFF#000000##FFFFFF
##12032B1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#0B0D16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #12032b;
/* rgb */ color: rgb(18, 3, 43);
/* oklch */ color: oklch(16.4% 0.078 294.8);
Tailwind
colors: {
  custom: {
    50: '#514764',
    500: '#12032b',
    950: '#000000',
  },
}
SCSS
$custom: #12032b;
$custom-light: #514764;
$custom-dark: #000000;
JSON
{
  "hex": "#12032b",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 262.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16398,
    "c": 0.07756,
    "h": 294.8
  },
  "luminance": 0.00368
}

Semantic roles & 50–950 ramp

primary
#12032B
secondary
#4F6F1B
accent
#FD2BAE
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #12032B

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

Preview Lab → · Contrast checker → · Palette generator →

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