#12063C#12063C

#12063C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.095 H 283.2°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#12063C
RGBrgb(18, 6, 60)
HSLhsl(253, 82%, 13%)
HSVhsv(253, 90%, 24%)
CMYKcmyk(70%, 90%, 0%, 76.5%)
CIE-LABlab(5.28, 22.37, -31.56)
CIE-LCHlch(5.28, 38.68, 305.33°)
OKLaboklab(19.1% 0.0218 -0.0929)
OKLCHoklch(19.1% 0.095 283.2)
XYZxyz(1.1299, 0.5850, 4.3275)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12063C #303C06
analogous
#06153C #12063C #2D063C
triadic
#12063C #3C1206 #063C12
tetradic
#12063C #3C0615 #303C06 #063C2D
square
#12063C #3C0615 #303C06 #063C2D
split-complementary
#12063C #3C2D06 #153C06
monochromatic
#08031C #08031C #12063C #230C74 #3311AB

Accessibility & contrast

On white

18.80
#12063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12063C
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12063C#FFFFFF#000000##FFFFFF
##12063C1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133E
Deuteranopia (green-blind)
#00103B
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #12063c;
/* rgb */ color: rgb(18, 6, 60);
/* oklch */ color: oklch(19.1% 0.095 283.2);
Tailwind
colors: {
  custom: {
    50: '#564872',
    500: '#12063c',
    950: '#000000',
  },
}
SCSS
$custom: #12063c;
$custom-light: #564872;
$custom-dark: #000000;
JSON
{
  "hex": "#12063c",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 253.333,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19102,
    "c": 0.09542,
    "h": 283.2
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#12063C
secondary
#687C22
accent
#F830CC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #12063C

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

Preview Lab → · Contrast checker → · Palette generator →

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