#2D134D#2D134D

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

Color values

HEX#2D134D
RGBrgb(45, 19, 77)
HSLhsl(267, 60%, 19%)
HSVhsv(267, 75%, 30%)
CMYKcmyk(41.6%, 75.3%, 0%, 69.8%)
CIE-LABlab(12.98, 26.78, -30.84)
CIE-LCHlch(12.98, 40.84, 310.97°)
OKLaboklab(26.16% 0.0506 -0.0879)
OKLCHoklch(26.16% 0.101 299.9)
XYZxyz(2.6543, 1.5594, 7.1809)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D134D #334D13
analogous
#13164D #2D134D #4A134D
triadic
#2D134D #4D2D13 #134D2D
tetradic
#2D134D #4D1316 #334D13 #134D4A
square
#2D134D #4D1316 #334D13 #134D4A
split-complementary
#2D134D #4D4A13 #164D13
monochromatic
#0E0619 #10071C #2D134D #4A1F7E #662BAF

Accessibility & contrast

On white

16.01
#2D134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D134D
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D134D#FFFFFF#000000##FFFFFF
##2D134D1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d134d;
/* rgb */ color: rgb(45, 19, 77);
/* oklch */ color: oklch(26.2% 0.101 299.9);
Tailwind
colors: {
  custom: {
    50: '#69537f',
    500: '#2d134d',
    950: '#000000',
  },
}
SCSS
$custom: #2d134d;
$custom-light: #69537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d134d",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 266.897,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26162,
    "c": 0.1014,
    "h": 299.9
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#2D134D
secondary
#628636
accent
#E4449C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D134D

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

Preview Lab → · Contrast checker → · Palette generator →

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