#12053F#12053F

#12053F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.101 H 282.3°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#12053F
RGBrgb(18, 5, 63)
HSLhsl(253, 85%, 13%)
HSVhsv(253, 92%, 25%)
CMYKcmyk(71.4%, 92.1%, 0%, 75.3%)
CIE-LABlab(5.38, 24.28, -33.56)
CIE-LCHlch(5.38, 41.42, 305.89°)
OKLaboklab(19.31% 0.0216 -0.0985)
OKLCHoklch(19.31% 0.101 282.3)
XYZxyz(1.2006, 0.5959, 4.7534)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12053F #323F05
analogous
#05153F #12053F #2F053F
triadic
#12053F #3F1205 #053F12
tetradic
#12053F #3F0515 #323F05 #053F2F
square
#12053F #3F0515 #323F05 #053F2F
split-complementary
#12053F #3F2F05 #153F05
monochromatic
#08021C #08021C #12053F #220978 #320EB0

Accessibility & contrast

On white

18.76
#12053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#12053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12053F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12053F#FFFFFF#000000##FFFFFF
##12053F1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #12053f;
/* rgb */ color: rgb(18, 5, 63);
/* oklch */ color: oklch(19.3% 0.101 282.3);
Tailwind
colors: {
  custom: {
    50: '#574875',
    500: '#12053f',
    950: '#000000',
  },
}
SCSS
$custom: #12053f;
$custom-light: #574875;
$custom-dark: #000000;
JSON
{
  "hex": "#12053f",
  "rgb": {
    "r": 18,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 253.448,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19305,
    "c": 0.10087,
    "h": 282.3
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#12053F
secondary
#6A8020
accent
#FC2CCD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #12053F

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

Preview Lab → · Contrast checker → · Palette generator →

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