#12083B#12083B

#12083B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.091 H 282.8°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#12083B
RGBrgb(18, 8, 59)
HSLhsl(252, 76%, 13%)
HSVhsv(252, 86%, 23%)
CMYKcmyk(69.5%, 86.4%, 0%, 76.9%)
CIE-LABlab(5.58, 20.94, -30.35)
CIE-LCHlch(5.58, 36.87, 304.60°)
OKLaboklab(19.33% 0.0203 -0.089)
OKLCHoklch(19.33% 0.091 282.8)
XYZxyz(1.1255, 0.6180, 4.1968)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12083B #313B08
analogous
#08173B #12083B #2B083B
triadic
#12083B #3B1208 #083B12
tetradic
#12083B #3B0817 #313B08 #083B2B
square
#12083B #3B0817 #313B08 #083B2B
split-complementary
#12083B #3B2B08 #173B08
monochromatic
#08041B #08041B #12083B #220F71 #3317A7

Accessibility & contrast

On white

18.69
#12083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#12083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12083B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12083B#FFFFFF#000000##FFFFFF
##12083B1.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)
#00143C
Deuteranopia (green-blind)
#00113A
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #12083b;
/* rgb */ color: rgb(18, 8, 59);
/* oklch */ color: oklch(19.3% 0.091 282.8);
Tailwind
colors: {
  custom: {
    50: '#564971',
    500: '#12083b',
    950: '#000000',
  },
}
SCSS
$custom: #12083b;
$custom-light: #564971;
$custom-dark: #000000;
JSON
{
  "hex": "#12083b",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 251.765,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19334,
    "c": 0.09124,
    "h": 282.8
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#12083B
secondary
#697A25
accent
#F335CE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #12083B

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

Preview Lab → · Contrast checker → · Palette generator →

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