#2D144A#2D144A

#2D144A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.096 H 301.2°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#2D144A
RGBrgb(45, 20, 74)
HSLhsl(268, 57%, 18%)
HSVhsv(268, 73%, 29%)
CMYKcmyk(39.2%, 73%, 0%, 71%)
CIE-LABlab(12.94, 25.30, -28.83)
CIE-LCHlch(12.94, 38.36, 311.26°)
OKLaboklab(26.05% 0.0497 -0.082)
OKLCHoklch(26.05% 0.096 301.2)
XYZxyz(2.5681, 1.5526, 6.6416)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D144A #314A14
analogous
#14164A #2D144A #48144A
triadic
#2D144A #4A2D14 #144A2D
tetradic
#2D144A #4A1416 #314A14 #144A48
square
#2D144A #4A1416 #314A14 #144A48
split-complementary
#2D144A #4A4814 #164A14
monochromatic
#0F0718 #10071A #2D144A #4A217A #682EAA

Accessibility & contrast

On white

16.02
#2D144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2D144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D144A
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D144A#FFFFFF#000000##FFFFFF
##2D144A1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#27202D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d144a;
/* rgb */ color: rgb(45, 20, 74);
/* oklch */ color: oklch(26.1% 0.096 301.2);
Tailwind
colors: {
  custom: {
    50: '#69537d',
    500: '#2d144a',
    950: '#000000',
  },
}
SCSS
$custom: #2d144a;
$custom-light: #69537d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d144a",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 267.778,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26051,
    "c": 0.09591,
    "h": 301.2
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#2D144A
secondary
#608238
accent
#E1479A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D144A

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

Preview Lab → · Contrast checker → · Palette generator →

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