#12033F#12033F

#12033F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.104 H 283.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#12033F
RGBrgb(18, 3, 63)
HSLhsl(255, 91%, 13%)
HSVhsv(255, 95%, 25%)
CMYKcmyk(71.4%, 95.2%, 0%, 75.3%)
CIE-LABlab(4.99, 25.26, -34.20)
CIE-LCHlch(4.99, 42.52, 306.46°)
OKLaboklab(18.95% 0.0234 -0.101)
OKLCHoklch(18.95% 0.104 283)
XYZxyz(1.1789, 0.5525, 4.7462)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12033F #303F03
analogous
#03123F #12033F #30033F
triadic
#12033F #3F1203 #033F12
tetradic
#12033F #3F0312 #303F03 #033F30
square
#12033F #3F0312 #303F03 #033F30
split-complementary
#12033F #3F3003 #123F03
monochromatic
#08011D #08011D #12033F #230679 #3309B4

Accessibility & contrast

On white

18.91
#12033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#12033F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12033F
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12033F#FFFFFF#000000##FFFFFF
##12033F1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001341
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001522
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #12033f;
/* rgb */ color: rgb(18, 3, 63);
/* oklch */ color: oklch(18.9% 0.104 283.0);
Tailwind
colors: {
  custom: {
    50: '#574775',
    500: '#12033f',
    950: '#000000',
  },
}
SCSS
$custom: #12033f;
$custom-light: #574775;
$custom-dark: #000000;
JSON
{
  "hex": "#12033f",
  "rgb": {
    "r": 18,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 255,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.18947,
    "c": 0.10367,
    "h": 283
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#12033F
secondary
#68811D
accent
#FF29C9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #12033F

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

Preview Lab → · Contrast checker → · Palette generator →

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