#12033B#12033B

#12033B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.099 H 284.8°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#12033B
RGBrgb(18, 3, 59)
HSLhsl(256, 90%, 12%)
HSVhsv(256, 95%, 23%)
CMYKcmyk(69.5%, 94.9%, 0%, 76.9%)
CIE-LABlab(4.60, 23.30, -31.94)
CIE-LCHlch(4.60, 39.54, 306.11°)
OKLaboklab(18.42% 0.0253 -0.0952)
OKLCHoklch(18.42% 0.099 284.8)
XYZxyz(1.0712, 0.5094, 4.1787)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12033B #2C3B03
analogous
#03103B #12033B #2E033B
triadic
#12033B #3B1203 #033B12
tetradic
#12033B #3B0310 #2C3B03 #033B2E
square
#12033B #3B0310 #2C3B03 #033B2E
split-complementary
#12033B #3B2E03 #103B03
monochromatic
#09011D #09011D #12033B #240675 #3609AF

Accessibility & contrast

On white

19.06
#12033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#12033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12033B
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12033B#FFFFFF#000000##FFFFFF
##12033B1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113D
Deuteranopia (green-blind)
#000E3A
Tritanopia (blue-blind)
#00141F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #12033b;
/* rgb */ color: rgb(18, 3, 59);
/* oklch */ color: oklch(18.4% 0.099 284.8);
Tailwind
colors: {
  custom: {
    50: '#564772',
    500: '#12033b',
    950: '#000000',
  },
}
SCSS
$custom: #12033b;
$custom-light: #564772;
$custom-dark: #000000;
JSON
{
  "hex": "#12033b",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 256.071,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18415,
    "c": 0.09853,
    "h": 284.8
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#12033B
secondary
#637E1C
accent
#FF29C6
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030008
muted
#78777B

Preview Lab

Preview with #12033B

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

Preview Lab → · Contrast checker → · Palette generator →

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