#12063F#12063F

#12063F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.100 H 282.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#12063F
RGBrgb(18, 6, 63)
HSLhsl(253, 83%, 14%)
HSVhsv(253, 90%, 25%)
CMYKcmyk(71.4%, 90.5%, 0%, 75.3%)
CIE-LABlab(5.58, 23.79, -33.24)
CIE-LCHlch(5.58, 40.87, 305.59°)
OKLaboklab(19.48% 0.0207 -0.0974)
OKLCHoklch(19.48% 0.1 282)
XYZxyz(1.2115, 0.6176, 4.7570)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12063F #333F06
analogous
#06163F #12063F #2E063F
triadic
#12063F #3F1206 #063F12
tetradic
#12063F #3F0616 #333F06 #063F2E
square
#12063F #3F0616 #333F06 #063F2E
split-complementary
#12063F #3F2E06 #163F06
monochromatic
#08031C #08031C #12063F #220B77 #3211AF

Accessibility & contrast

On white

18.69
#12063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12063F
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12063F#FFFFFF#000000##FFFFFF
##12063F1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12063f;
/* rgb */ color: rgb(18, 6, 63);
/* oklch */ color: oklch(19.5% 0.100 282.0);
Tailwind
colors: {
  custom: {
    50: '#574875',
    500: '#12063f',
    950: '#000000',
  },
}
SCSS
$custom: #12063f;
$custom-light: #574875;
$custom-dark: #000000;
JSON
{
  "hex": "#12063f",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 252.632,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19479,
    "c": 0.09953,
    "h": 282
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#12063F
secondary
#6B7F22
accent
#F92FCE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #12063F

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

Preview Lab → · Contrast checker → · Palette generator →

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