#2C134A#2C134A

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

Color values

HEX#2C134A
RGBrgb(44, 19, 74)
HSLhsl(267, 59%, 18%)
HSVhsv(267, 74%, 29%)
CMYKcmyk(40.5%, 74.3%, 0%, 71%)
CIE-LABlab(12.58, 25.65, -29.42)
CIE-LCHlch(12.58, 39.03, 311.08°)
OKLaboklab(25.76% 0.0494 -0.0838)
OKLCHoklch(25.76% 0.097 300.5)
XYZxyz(2.5073, 1.4956, 6.6338)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C134A #314A13
analogous
#13154A #2C134A #47134A
triadic
#2C134A #4A2C13 #134A2C
tetradic
#2C134A #4A1315 #314A13 #134A47
square
#2C134A #4A1315 #314A13 #134A47
split-complementary
#2C134A #4A4713 #154A13
monochromatic
#0E0618 #0F0619 #2C134A #49207B #662CAB

Accessibility & contrast

On white

16.16
#2C134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C134A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C134A#FFFFFF#000000##FFFFFF
##2C134A1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#25202C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c134a;
/* rgb */ color: rgb(44, 19, 74);
/* oklch */ color: oklch(25.8% 0.097 300.5);
Tailwind
colors: {
  custom: {
    50: '#68527d',
    500: '#2c134a',
    950: '#000000',
  },
}
SCSS
$custom: #2c134a;
$custom-light: #68527d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c134a",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 267.273,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25762,
    "c": 0.09725,
    "h": 300.5
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#2C134A
secondary
#608336
accent
#E2459B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C134A

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

Preview Lab → · Contrast checker → · Palette generator →

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