#2D164A#2D164A

#2D164A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.093 H 300.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#2D164A
RGBrgb(45, 22, 74)
HSLhsl(267, 54%, 19%)
HSVhsv(267, 70%, 29%)
CMYKcmyk(39.2%, 70.3%, 0%, 71%)
CIE-LABlab(13.39, 24.07, -28.11)
CIE-LCHlch(13.39, 37.01, 310.58°)
OKLaboklab(26.38% 0.047 -0.0799)
OKLCHoklch(26.38% 0.093 300.5)
XYZxyz(2.6048, 1.6261, 6.6539)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D164A #334A16
analogous
#16194A #2D164A #47164A
triadic
#2D164A #4A2D16 #164A2D
tetradic
#2D164A #4A1619 #334A16 #164A47
square
#2D164A #4A1619 #334A16 #164A47
split-complementary
#2D164A #4A4716 #194A16
monochromatic
#0E0718 #10081B #2D164A #4A2479 #6632A8

Accessibility & contrast

On white

15.85
#2D164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2D164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D164A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D164A#FFFFFF#000000##FFFFFF
##2D164A1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#032249
Tritanopia (blue-blind)
#27212D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2d164a;
/* rgb */ color: rgb(45, 22, 74);
/* oklch */ color: oklch(26.4% 0.093 300.5);
Tailwind
colors: {
  custom: {
    50: '#69547d',
    500: '#2d164a',
    950: '#000000',
  },
}
SCSS
$custom: #2d164a;
$custom-light: #69547d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d164a",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 266.538,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26375,
    "c": 0.0927,
    "h": 300.5
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#2D164A
secondary
#62823A
accent
#DE4A9C
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #2D164A

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

Preview Lab → · Contrast checker → · Palette generator →

#2D164A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva