#2C136D#2C136D

#2C136D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 286.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#2C136D
RGBrgb(44, 19, 109)
HSLhsl(257, 70%, 25%)
HSVhsv(257, 83%, 43%)
CMYKcmyk(59.6%, 82.6%, 0%, 57.3%)
CIE-LABlab(16.03, 36.31, -47.28)
CIE-LCHlch(16.03, 59.61, 307.52°)
OKLaboklab(29.25% 0.0403 -0.1361)
OKLCHoklch(29.25% 0.142 286.5)
XYZxyz(4.0311, 2.1051, 14.6589)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C136D #546D13
analogous
#13276D #2C136D #59136D
triadic
#2C136D #6D2C13 #136D2C
tetradic
#2C136D #6D1327 #546D13 #136D59
square
#2C136D #6D1327 #546D13 #136D59
split-complementary
#2C136D #6D5913 #276D13
monochromatic
#0B051A #170A39 #2C136D #411CA1 #5625D5

Accessibility & contrast

On white

14.78
#2C136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2C136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C136D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C136D#FFFFFF#000000##FFFFFF
##2C136D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#0C2D40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c136d;
/* rgb */ color: rgb(44, 19, 109);
/* oklch */ color: oklch(29.3% 0.142 286.5);
Tailwind
colors: {
  custom: {
    50: '#6e5498',
    500: '#2c136d',
    950: '#000000',
  },
}
SCSS
$custom: #2c136d;
$custom-light: #6e5498;
$custom-dark: #000000;
JSON
{
  "hex": "#2c136d",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 256.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29254,
    "c": 0.14197,
    "h": 286.5
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#2C136D
secondary
#86A438
accent
#ED3BBC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2C136D

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

Preview Lab → · Contrast checker → · Palette generator →

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