#12063A#12063A

#12063A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.093 H 284.1°. Best body text is #FFFFFF at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#12063A
RGBrgb(18, 6, 58)
HSLhsl(254, 81%, 13%)
HSVhsv(254, 90%, 23%)
CMYKcmyk(69%, 89.7%, 0%, 77.3%)
CIE-LABlab(5.10, 21.41, -30.41)
CIE-LCHlch(5.10, 37.19, 305.14°)
OKLaboklab(18.85% 0.0226 -0.0899)
OKLCHoklch(18.85% 0.093 284.1)
XYZxyz(1.0781, 0.5643, 4.0543)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12063A #2E3A06
analogous
#06143A #12063A #2C063A
triadic
#12063A #3A1206 #063A12
tetradic
#12063A #3A0614 #2E3A06 #063A2C
square
#12063A #3A0614 #2E3A06 #063A2C
split-complementary
#12063A #3A2C06 #143A06
monochromatic
#09031C #09031C #12063A #230C71 #3411A9

Accessibility & contrast

On white

18.87
#12063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#12063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12063A
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12063A#FFFFFF#000000##FFFFFF
##12063A1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#000F39
Tritanopia (blue-blind)
#001520
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #12063a;
/* rgb */ color: rgb(18, 6, 58);
/* oklch */ color: oklch(18.9% 0.093 284.1);
Tailwind
colors: {
  custom: {
    50: '#564871',
    500: '#12063a',
    950: '#000000',
  },
}
SCSS
$custom: #12063a;
$custom-light: #564871;
$custom-dark: #000000;
JSON
{
  "hex": "#12063a",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 253.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18853,
    "c": 0.09266,
    "h": 284.1
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#12063A
secondary
#667A22
accent
#F830CA
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #12063A

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

Preview Lab → · Contrast checker → · Palette generator →

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