#2C114C#2C114C

#2C114C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.103 H 300.1°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2C114C
RGBrgb(44, 17, 76)
HSLhsl(267, 63%, 18%)
HSVhsv(267, 78%, 30%)
CMYKcmyk(42.1%, 77.6%, 0%, 70.2%)
CIE-LABlab(12.34, 27.40, -31.20)
CIE-LCHlch(12.34, 41.52, 311.29°)
OKLaboklab(25.65% 0.0515 -0.089)
OKLCHoklch(25.65% 0.103 300.1)
XYZxyz(2.5433, 1.4581, 6.9835)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C114C #314C11
analogous
#11134C #2C114C #49114C
triadic
#2C114C #4C2C11 #114C2C
tetradic
#2C114C #4C1113 #314C11 #114C49
square
#2C114C #4C1113 #314C11 #114C49
split-complementary
#2C114C #4C4911 #134C11
monochromatic
#0E0619 #0F061A #2C114C #491C7E #6627B0

Accessibility & contrast

On white

16.26
#2C114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C114C
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C114C#FFFFFF#000000##FFFFFF
##2C114C1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#251F2D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c114c;
/* rgb */ color: rgb(44, 17, 76);
/* oklch */ color: oklch(25.6% 0.103 300.1);
Tailwind
colors: {
  custom: {
    50: '#69517f',
    500: '#2c114c',
    950: '#000000',
  },
}
SCSS
$custom: #2c114c;
$custom-light: #69517f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c114c",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 267.458,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25645,
    "c": 0.10281,
    "h": 300.1
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#2C114C
secondary
#608533
accent
#E6419B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C114C

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

Preview Lab → · Contrast checker → · Palette generator →

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