#2D194C#2D194C

#2D194C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.091 H 298.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#2D194C
RGBrgb(45, 25, 76)
HSLhsl(264, 50%, 20%)
HSVhsv(264, 67%, 30%)
CMYKcmyk(40.8%, 67.1%, 0%, 70.2%)
CIE-LABlab(14.26, 22.77, -28.08)
CIE-LCHlch(14.26, 36.16, 309.04°)
OKLaboklab(27.06% 0.0428 -0.0798)
OKLCHoklch(27.06% 0.091 298.2)
XYZxyz(2.7340, 1.7749, 7.0346)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D194C #384C19
analogous
#191F4C #2D194C #46194C
triadic
#2D194C #4C2D19 #194C2D
tetradic
#2D194C #4C191F #384C19 #194C46
square
#2D194C #4C191F #384C19 #194C46
split-complementary
#2D194C #4C4619 #1F4C19
monochromatic
#0E0817 #120A1E #2D194C #48287A #6437A8

Accessibility & contrast

On white

15.50
#2D194C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2D194C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D194C
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D194C#FFFFFF#000000##FFFFFF
##2D194C1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#05244B
Tritanopia (blue-blind)
#26242F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d194c;
/* rgb */ color: rgb(45, 25, 76);
/* oklch */ color: oklch(27.1% 0.091 298.2);
Tailwind
colors: {
  custom: {
    50: '#69577e',
    500: '#2d194c',
    950: '#000000',
  },
}
SCSS
$custom: #2d194c;
$custom-light: #69577e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d194c",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 76
  },
  "hsl": {
    "h": 263.529,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27058,
    "c": 0.09054,
    "h": 298.2
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#2D194C
secondary
#68823E
accent
#DA4EA3
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2D194C

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

Preview Lab → · Contrast checker → · Palette generator →

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