#2D134C#2D134C

#2D134C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.100 H 300.4°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#2D134C
RGBrgb(45, 19, 76)
HSLhsl(267, 60%, 19%)
HSVhsv(267, 75%, 30%)
CMYKcmyk(40.8%, 75%, 0%, 70.2%)
CIE-LABlab(12.89, 26.48, -30.29)
CIE-LCHlch(12.89, 40.23, 311.16°)
OKLaboklab(26.07% 0.0507 -0.0863)
OKLCHoklch(26.07% 0.1 300.4)
XYZxyz(2.6192, 1.5454, 6.9964)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D134C #324C13
analogous
#13154C #2D134C #49134C
triadic
#2D134C #4C2D13 #134C2D
tetradic
#2D134C #4C1315 #324C13 #134C49
square
#2D134C #4C1315 #324C13 #134C49
split-complementary
#2D134C #4C4913 #154C13
monochromatic
#0E0618 #10071B #2D134C #4A1F7D #672BAE

Accessibility & contrast

On white

16.04
#2D134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D134C
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D134C#FFFFFF#000000##FFFFFF
##2D134C1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#26202D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d134c;
/* rgb */ color: rgb(45, 19, 76);
/* oklch */ color: oklch(26.1% 0.100 300.4);
Tailwind
colors: {
  custom: {
    50: '#69537e',
    500: '#2d134c',
    950: '#000000',
  },
}
SCSS
$custom: #2d134c;
$custom-light: #69537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d134c",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 267.368,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26073,
    "c": 0.10008,
    "h": 300.4
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#2D134C
secondary
#618536
accent
#E3459B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D134C

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

Preview Lab → · Contrast checker → · Palette generator →

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