#2D144C#2D144C

#2D144C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.099 H 300.1°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#2D144C
RGBrgb(45, 20, 76)
HSLhsl(267, 58%, 19%)
HSVhsv(267, 74%, 30%)
CMYKcmyk(40.8%, 73.7%, 0%, 70.2%)
CIE-LABlab(13.11, 25.89, -29.94)
CIE-LCHlch(13.11, 39.58, 310.85°)
OKLaboklab(26.23% 0.0495 -0.0853)
OKLCHoklch(26.23% 0.099 300.1)
XYZxyz(2.6365, 1.5800, 7.0021)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D144C #334C14
analogous
#14174C #2D144C #49144C
triadic
#2D144C #4C2D14 #144C2D
tetradic
#2D144C #4C1417 #334C14 #144C49
square
#2D144C #4C1417 #334C14 #144C49
split-complementary
#2D144C #4C4914 #174C14
monochromatic
#0E0618 #10071C #2D144C #4A217C #662EAD

Accessibility & contrast

On white

15.96
#2D144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2D144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D144C
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D144C#FFFFFF#000000##FFFFFF
##2D144C1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#26212E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2d144c;
/* rgb */ color: rgb(45, 20, 76);
/* oklch */ color: oklch(26.2% 0.099 300.1);
Tailwind
colors: {
  custom: {
    50: '#69537e',
    500: '#2d144c',
    950: '#000000',
  },
}
SCSS
$custom: #2d144c;
$custom-light: #69537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d144c",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 266.786,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26226,
    "c": 0.09858,
    "h": 300.1
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#2D144C
secondary
#628438
accent
#E2469C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2D144C

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

Preview Lab → · Contrast checker → · Palette generator →

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