#2C134D#2C134D

#2C134D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.101 H 298.9°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#2C134D
RGBrgb(44, 19, 77)
HSLhsl(266, 60%, 19%)
HSVhsv(266, 75%, 30%)
CMYKcmyk(42.9%, 75.3%, 0%, 69.8%)
CIE-LABlab(12.84, 26.55, -31.07)
CIE-LCHlch(12.84, 40.87, 310.51°)
OKLaboklab(26.03% 0.0489 -0.0886)
OKLCHoklch(26.03% 0.101 298.9)
XYZxyz(2.6108, 1.5370, 7.1789)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C134D #344D13
analogous
#13174D #2C134D #49134D
triadic
#2C134D #4D2C13 #134D2C
tetradic
#2C134D #4D1317 #344D13 #134D49
square
#2C134D #4D1317 #344D13 #134D49
split-complementary
#2C134D #4D4913 #174D13
monochromatic
#0E0619 #10071C #2C134D #481F7E #642BAF

Accessibility & contrast

On white

16.06
#2C134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C134D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C134D#FFFFFF#000000##FFFFFF
##2C134D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c134d;
/* rgb */ color: rgb(44, 19, 77);
/* oklch */ color: oklch(26.0% 0.101 298.9);
Tailwind
colors: {
  custom: {
    50: '#69537f',
    500: '#2c134d',
    950: '#000000',
  },
}
SCSS
$custom: #2c134d;
$custom-light: #69537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c134d",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 265.862,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26031,
    "c": 0.10123,
    "h": 298.9
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#2C134D
secondary
#638636
accent
#E4449F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C134D

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

Preview Lab → · Contrast checker → · Palette generator →

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