#12083F#12083F

#12083F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.097 H 281.3°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#12083F
RGBrgb(18, 8, 63)
HSLhsl(251, 77%, 14%)
HSVhsv(251, 87%, 25%)
CMYKcmyk(71.4%, 87.3%, 0%, 75.3%)
CIE-LABlab(5.97, 22.78, -32.59)
CIE-LCHlch(5.97, 39.77, 304.96°)
OKLaboklab(19.82% 0.019 -0.095)
OKLCHoklch(19.82% 0.097 281.3)
XYZxyz(1.2332, 0.6611, 4.7643)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12083F #353F08
analogous
#081A3F #12083F #2E083F
triadic
#12083F #3F1208 #083F12
tetradic
#12083F #3F081A #353F08 #083F2E
square
#12083F #3F081A #353F08 #083F2E
split-complementary
#12083F #3F2E08 #1A3F08
monochromatic
#08031B #08031B #12083F #220F75 #3116AC

Accessibility & contrast

On white

18.55
#12083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#12083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12083F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12083F#FFFFFF#000000##FFFFFF
##12083F1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #12083f;
/* rgb */ color: rgb(18, 8, 63);
/* oklch */ color: oklch(19.8% 0.097 281.3);
Tailwind
colors: {
  custom: {
    50: '#574975',
    500: '#12083f',
    950: '#000000',
  },
}
SCSS
$custom: #12083f;
$custom-light: #574975;
$custom-dark: #000000;
JSON
{
  "hex": "#12083f",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 250.909,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19819,
    "c": 0.09692,
    "h": 281.3
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#12083F
secondary
#6D7E25
accent
#F434D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #12083F

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

Preview Lab → · Contrast checker → · Palette generator →

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