#2C114D#2C114D

#2C114D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.104 H 299.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#2C114D
RGBrgb(44, 17, 77)
HSLhsl(267, 64%, 18%)
HSVhsv(267, 78%, 30%)
CMYKcmyk(42.9%, 77.9%, 0%, 69.8%)
CIE-LABlab(12.43, 27.69, -31.74)
CIE-LCHlch(12.43, 42.12, 311.10°)
OKLaboklab(25.74% 0.0513 -0.0906)
OKLCHoklch(25.74% 0.104 299.5)
XYZxyz(2.5784, 1.4722, 7.1681)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C114D #324D11
analogous
#11144D #2C114D #4A114D
triadic
#2C114D #4D2C11 #114D2C
tetradic
#2C114D #4D1114 #324D11 #114D4A
square
#2C114D #4D1114 #324D11 #114D4A
split-complementary
#2C114D #4D4A11 #144D11
monochromatic
#0E0619 #0F061B #2C114D #491C7F #6527B1

Accessibility & contrast

On white

16.22
#2C114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C114D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C114D#FFFFFF#000000##FFFFFF
##2C114D1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#24202D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c114d;
/* rgb */ color: rgb(44, 17, 77);
/* oklch */ color: oklch(25.7% 0.104 299.5);
Tailwind
colors: {
  custom: {
    50: '#69517f',
    500: '#2c114d',
    950: '#000000',
  },
}
SCSS
$custom: #2c114d;
$custom-light: #69517f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c114d",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 267,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25738,
    "c": 0.10409,
    "h": 299.5
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#2C114D
secondary
#618633
accent
#E7419C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C114D

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

Preview Lab → · Contrast checker → · Palette generator →

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