#2D134A#2D134A

#2D134A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.097 H 301.6°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#2D134A
RGBrgb(45, 19, 74)
HSLhsl(268, 59%, 18%)
HSVhsv(268, 74%, 29%)
CMYKcmyk(39.2%, 74.3%, 0%, 71%)
CIE-LABlab(12.72, 25.90, -29.19)
CIE-LCHlch(12.72, 39.02, 311.58°)
OKLaboklab(25.9% 0.051 -0.083)
OKLCHoklch(25.9% 0.097 301.6)
XYZxyz(2.5508, 1.5180, 6.6359)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D134A #304A13
analogous
#13144A #2D134A #48134A
triadic
#2D134A #4A2D13 #134A2D
tetradic
#2D134A #4A1314 #304A13 #134A48
square
#2D134A #4A1314 #304A13 #134A48
split-complementary
#2D134A #4A4813 #144A13
monochromatic
#0F0618 #0F0619 #2D134A #4B207B #682CAB

Accessibility & contrast

On white

16.11
#2D134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2D134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D134A
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D134A#FFFFFF#000000##FFFFFF
##2D134A1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d134a;
/* rgb */ color: rgb(45, 19, 74);
/* oklch */ color: oklch(25.9% 0.097 301.6);
Tailwind
colors: {
  custom: {
    50: '#69537d',
    500: '#2d134a',
    950: '#000000',
  },
}
SCSS
$custom: #2d134a;
$custom-light: #69537d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d134a",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 268.364,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25895,
    "c": 0.09747,
    "h": 301.6
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#2D134A
secondary
#5E8336
accent
#E24598
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D134A

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

Preview Lab → · Contrast checker → · Palette generator →

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