#2D194A#2D194A

#2D194A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.088 H 299.2°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#2D194A
RGBrgb(45, 25, 74)
HSLhsl(264, 49%, 19%)
HSVhsv(264, 66%, 29%)
CMYKcmyk(39.2%, 66.2%, 0%, 71%)
CIE-LABlab(14.10, 22.16, -26.96)
CIE-LCHlch(14.10, 34.90, 309.42°)
OKLaboklab(26.89% 0.0428 -0.0765)
OKLCHoklch(26.89% 0.088 299.2)
XYZxyz(2.6655, 1.7475, 6.6741)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D194A #364A19
analogous
#191E4A #2D194A #46194A
triadic
#2D194A #4A2D19 #194A2D
tetradic
#2D194A #4A191E #364A19 #194A46
square
#2D194A #4A191E #364A19 #194A46
split-complementary
#2D194A #4A4619 #1E4A19
monochromatic
#0E0817 #110A1C #2D194A #492878 #6538A5

Accessibility & contrast

On white

15.56
#2D194A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2D194A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D194A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D194A#FFFFFF#000000##FFFFFF
##2D194A1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244C
Deuteranopia (green-blind)
#082349
Tritanopia (blue-blind)
#27232E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d194a;
/* rgb */ color: rgb(45, 25, 74);
/* oklch */ color: oklch(26.9% 0.088 299.2);
Tailwind
colors: {
  custom: {
    50: '#68567d',
    500: '#2d194a',
    950: '#000000',
  },
}
SCSS
$custom: #2d194a;
$custom-light: #68567d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d194a",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 74
  },
  "hsl": {
    "h": 264.49,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26894,
    "c": 0.08767,
    "h": 299.2
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#2D194A
secondary
#65803E
accent
#D94FA1
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #2D194A

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

Preview Lab → · Contrast checker → · Palette generator →

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