#12083C#12083C

#12083C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.093 H 282.4°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#12083C
RGBrgb(18, 8, 60)
HSLhsl(252, 76%, 13%)
HSVhsv(252, 87%, 24%)
CMYKcmyk(70%, 86.7%, 0%, 76.5%)
CIE-LABlab(5.68, 21.41, -30.92)
CIE-LCHlch(5.68, 37.61, 304.70°)
OKLaboklab(19.45% 0.02 -0.0905)
OKLCHoklch(19.45% 0.093 282.4)
XYZxyz(1.1516, 0.6284, 4.3347)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12083C #323C08
analogous
#08183C #12083C #2C083C
triadic
#12083C #3C1208 #083C12
tetradic
#12083C #3C0818 #323C08 #083C2C
square
#12083C #3C0818 #323C08 #083C2C
split-complementary
#12083C #3C2C08 #183C08
monochromatic
#08041B #08041B #12083C #220F72 #3216A8

Accessibility & contrast

On white

18.65
#12083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12083C
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12083C#FFFFFF#000000##FFFFFF
##12083C1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00113B
Tritanopia (blue-blind)
#001721
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #12083c;
/* rgb */ color: rgb(18, 8, 60);
/* oklch */ color: oklch(19.5% 0.093 282.4);
Tailwind
colors: {
  custom: {
    50: '#564972',
    500: '#12083c',
    950: '#000000',
  },
}
SCSS
$custom: #12083c;
$custom-light: #564972;
$custom-dark: #000000;
JSON
{
  "hex": "#12083c",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 251.538,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19454,
    "c": 0.09267,
    "h": 282.4
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#12083C
secondary
#6A7B25
accent
#F335CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12083C

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

Preview Lab → · Contrast checker → · Palette generator →

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