#12032D#12032D

#12032D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.080 H 293.2°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#12032D
RGBrgb(18, 3, 45)
HSLhsl(261, 88%, 9%)
HSVhsv(261, 93%, 18%)
CMYKcmyk(60%, 93.3%, 0%, 82.4%)
CIE-LABlab(3.46, 16.03, -23.41)
CIE-LCHlch(3.46, 28.37, 304.39°)
OKLaboklab(16.64% 0.0317 -0.0737)
OKLCHoklch(16.64% 0.08 293.2)
XYZxyz(0.7555, 0.3832, 2.5163)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12032D #1E2D03
analogous
#03092D #12032D #27032D
triadic
#12032D #2D1203 #032D12
tetradic
#12032D #2D0309 #1E2D03 #032D27
square
#12032D #2D0309 #1E2D03 #032D27
split-complementary
#12032D #2D2703 #092D03
monochromatic
#0B021D #0B021D #12032D #290766 #400BA0

Accessibility & contrast

On white

19.51
#12032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12032D
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12032D#FFFFFF#000000##FFFFFF
##12032D1.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#090E17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #12032d;
/* rgb */ color: rgb(18, 3, 45);
/* oklch */ color: oklch(16.6% 0.080 293.2);
Tailwind
colors: {
  custom: {
    50: '#514766',
    500: '#12032d',
    950: '#000000',
  },
}
SCSS
$custom: #12032d;
$custom-light: #514766;
$custom-dark: #000000;
JSON
{
  "hex": "#12032d",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 261.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16638,
    "c": 0.08022,
    "h": 293.2
  },
  "luminance": 0.00383
}

Semantic roles & 50–950 ramp

primary
#12032D
secondary
#52711B
accent
#FE2AB2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #12032D

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

Preview Lab → · Contrast checker → · Palette generator →

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