#12073D#12073D

#12073D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.095 H 282.4°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#12073D
RGBrgb(18, 7, 61)
HSLhsl(252, 79%, 13%)
HSVhsv(252, 89%, 24%)
CMYKcmyk(70.5%, 88.5%, 0%, 76.1%)
CIE-LABlab(5.58, 22.36, -31.80)
CIE-LCHlch(5.58, 38.88, 305.11°)
OKLaboklab(19.4% 0.0205 -0.0932)
OKLCHoklch(19.4% 0.095 282.4)
XYZxyz(1.1675, 0.6174, 4.4716)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12073D #323D07
analogous
#07173D #12073D #2D073D
triadic
#12073D #3D1207 #073D12
tetradic
#12073D #3D0717 #323D07 #073D2D
square
#12073D #3D0717 #323D07 #073D2D
split-complementary
#12073D #3D2D07 #173D07
monochromatic
#08031B #08031B #12073D #220D74 #3214AB

Accessibility & contrast

On white

18.69
#12073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#12073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12073D
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12073D#FFFFFF#000000##FFFFFF
##12073D1.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)
#00143F
Deuteranopia (green-blind)
#00103C
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #12073d;
/* rgb */ color: rgb(18, 7, 61);
/* oklch */ color: oklch(19.4% 0.095 282.4);
Tailwind
colors: {
  custom: {
    50: '#564973',
    500: '#12073d',
    950: '#000000',
  },
}
SCSS
$custom: #12073d;
$custom-light: #564973;
$custom-dark: #000000;
JSON
{
  "hex": "#12073d",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 252.222,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19402,
    "c": 0.09543,
    "h": 282.4
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#12073D
secondary
#6A7C23
accent
#F632CE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #12073D

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

Preview Lab → · Contrast checker → · Palette generator →

#12073D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva