#2C114A#2C114A

#2C114A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.100 H 301.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2C114A
RGBrgb(44, 17, 74)
HSLhsl(268, 63%, 18%)
HSVhsv(268, 77%, 29%)
CMYKcmyk(40.5%, 77%, 0%, 71%)
CIE-LABlab(12.16, 26.81, -30.10)
CIE-LCHlch(12.16, 40.31, 311.69°)
OKLaboklab(25.46% 0.0519 -0.0858)
OKLCHoklch(25.46% 0.1 301.2)
XYZxyz(2.4749, 1.4308, 6.6230)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C114A #2F4A11
analogous
#11134A #2C114A #48114A
triadic
#2C114A #4A2C11 #114A2C
tetradic
#2C114A #4A1113 #2F4A11 #114A48
square
#2C114A #4A1113 #2F4A11 #114A48
split-complementary
#2C114A #4A4811 #134A11
monochromatic
#0F0619 #0F0619 #2C114A #4A1C7C #6728AE

Accessibility & contrast

On white

16.33
#2C114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C114A
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C114A#FFFFFF#000000##FFFFFF
##2C114A1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#261F2C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c114a;
/* rgb */ color: rgb(44, 17, 74);
/* oklch */ color: oklch(25.5% 0.100 301.2);
Tailwind
colors: {
  custom: {
    50: '#68517d',
    500: '#2c114a',
    950: '#000000',
  },
}
SCSS
$custom: #2c114a;
$custom-light: #68517d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c114a",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 268.421,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25462,
    "c": 0.10024,
    "h": 301.2
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#2C114A
secondary
#5E8333
accent
#E64298
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C114A

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

Preview Lab → · Contrast checker → · Palette generator →

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