#2C114F#2C114F

#2C114F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.107 H 298.5°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#2C114F
RGBrgb(44, 17, 79)
HSLhsl(266, 65%, 19%)
HSVhsv(266, 78%, 31%)
CMYKcmyk(44.3%, 78.5%, 0%, 69%)
CIE-LABlab(12.61, 28.28, -32.82)
CIE-LCHlch(12.61, 43.32, 310.76°)
OKLaboklab(25.92% 0.0509 -0.0937)
OKLCHoklch(25.92% 0.107 298.5)
XYZxyz(2.6501, 1.5008, 7.5457)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C114F #344F11
analogous
#11154F #2C114F #4B114F
triadic
#2C114F #4F2C11 #114F2C
tetradic
#2C114F #4F1115 #344F11 #114F4B
square
#2C114F #4F1115 #344F11 #114F4B
split-complementary
#2C114F #4F4B11 #154F11
monochromatic
#0E0519 #10061D #2C114F #481C81 #6427B4

Accessibility & contrast

On white

16.15
#2C114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C114F
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C114F#FFFFFF#000000##FFFFFF
##2C114F1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#23202E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c114f;
/* rgb */ color: rgb(44, 17, 79);
/* oklch */ color: oklch(25.9% 0.107 298.5);
Tailwind
colors: {
  custom: {
    50: '#695281',
    500: '#2c114f',
    950: '#000000',
  },
}
SCSS
$custom: #2c114f;
$custom-light: #695281;
$custom-dark: #000000;
JSON
{
  "hex": "#2c114f",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 266.129,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25925,
    "c": 0.10665,
    "h": 298.5
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#2C114F
secondary
#638833
accent
#E8409F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C114F

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

Preview Lab → · Contrast checker → · Palette generator →

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