#2D144D#2D144D

#2D144D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.100 H 299.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#2D144D
RGBrgb(45, 20, 77)
HSLhsl(266, 59%, 19%)
HSVhsv(266, 74%, 30%)
CMYKcmyk(41.6%, 74%, 0%, 69.8%)
CIE-LABlab(13.19, 26.19, -30.49)
CIE-LCHlch(13.19, 40.20, 310.66°)
OKLaboklab(26.31% 0.0493 -0.0869)
OKLCHoklch(26.31% 0.1 299.6)
XYZxyz(2.6716, 1.5940, 7.1867)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D144D #344D14
analogous
#14184D #2D144D #4A144D
triadic
#2D144D #4D2D14 #144D2D
tetradic
#2D144D #4D1418 #344D14 #144D4A
square
#2D144D #4D1418 #344D14 #144D4A
split-complementary
#2D144D #4D4A14 #184D14
monochromatic
#0E0618 #11071C #2D144D #49217E #662DAE

Accessibility & contrast

On white

15.92
#2D144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D144D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D144D#FFFFFF#000000##FFFFFF
##2D144D1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d144d;
/* rgb */ color: rgb(45, 20, 77);
/* oklch */ color: oklch(26.3% 0.100 299.6);
Tailwind
colors: {
  custom: {
    50: '#69537f',
    500: '#2d144d',
    950: '#000000',
  },
}
SCSS
$custom: #2d144d;
$custom-light: #69537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d144d",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 266.316,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26314,
    "c": 0.0999,
    "h": 299.6
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#2D144D
secondary
#638538
accent
#E2469D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D144D

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

Preview Lab → · Contrast checker → · Palette generator →

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