#12063D#12063D

#12063D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.097 H 282.8°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#12063D
RGBrgb(18, 6, 61)
HSLhsl(253, 82%, 13%)
HSVhsv(253, 90%, 24%)
CMYKcmyk(70.5%, 90.2%, 0%, 76.1%)
CIE-LABlab(5.38, 22.85, -32.12)
CIE-LCHlch(5.38, 39.42, 305.42°)
OKLaboklab(19.23% 0.0215 -0.0944)
OKLCHoklch(19.23% 0.097 282.8)
XYZxyz(1.1566, 0.5957, 4.4680)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12063D #313D06
analogous
#06153D #12063D #2D063D
triadic
#12063D #3D1206 #063D12
tetradic
#12063D #3D0615 #313D06 #063D2D
square
#12063D #3D0615 #313D06 #063D2D
split-complementary
#12063D #3D2D06 #153D06
monochromatic
#08031C #08031C #12063D #220B75 #3311AC

Accessibility & contrast

On white

18.76
#12063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12063D
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12063D#FFFFFF#000000##FFFFFF
##12063D1.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)
#00143F
Deuteranopia (green-blind)
#00103C
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #12063d;
/* rgb */ color: rgb(18, 6, 61);
/* oklch */ color: oklch(19.2% 0.097 282.8);
Tailwind
colors: {
  custom: {
    50: '#574873',
    500: '#12063d',
    950: '#000000',
  },
}
SCSS
$custom: #12063d;
$custom-light: #574873;
$custom-dark: #000000;
JSON
{
  "hex": "#12063d",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 253.091,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19227,
    "c": 0.0968,
    "h": 282.8
  },
  "luminance": 0.00596
}

Semantic roles & 50–950 ramp

primary
#12063D
secondary
#697D22
accent
#F82FCD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #12063D

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

Preview Lab → · Contrast checker → · Palette generator →

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