#2C114B#2C114B

#2C114B is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.102 H 300.6°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#2C114B
RGBrgb(44, 17, 75)
HSLhsl(268, 63%, 18%)
HSVhsv(268, 77%, 29%)
CMYKcmyk(41.3%, 77.3%, 0%, 70.6%)
CIE-LABlab(12.25, 27.10, -30.65)
CIE-LCHlch(12.25, 40.92, 311.49°)
OKLaboklab(25.55% 0.0517 -0.0874)
OKLCHoklch(25.55% 0.102 300.6)
XYZxyz(2.5088, 1.4444, 6.8019)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C114B #304B11
analogous
#11134B #2C114B #49114B
triadic
#2C114B #4B2C11 #114B2C
tetradic
#2C114B #4B1113 #304B11 #114B49
square
#2C114B #4B1113 #304B11 #114B49
split-complementary
#2C114B #4B4911 #134B11
monochromatic
#0F0619 #0F0619 #2C114B #491C7D #6728AF

Accessibility & contrast

On white

16.29
#2C114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C114B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C114B#FFFFFF#000000##FFFFFF
##2C114B1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#251F2C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c114b;
/* rgb */ color: rgb(44, 17, 75);
/* oklch */ color: oklch(25.6% 0.102 300.6);
Tailwind
colors: {
  custom: {
    50: '#69517e',
    500: '#2c114b',
    950: '#000000',
  },
}
SCSS
$custom: #2c114b;
$custom-light: #69517e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c114b",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 267.931,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25553,
    "c": 0.10153,
    "h": 300.6
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#2C114B
secondary
#5F8433
accent
#E6429A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C114B

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

Preview Lab → · Contrast checker → · Palette generator →

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