#2C1963#2C1963

#2C1963 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.122 H 288.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2C1963
RGBrgb(44, 25, 99)
HSLhsl(255, 60%, 24%)
HSVhsv(255, 75%, 39%)
CMYKcmyk(55.6%, 74.7%, 0%, 61.2%)
CIE-LABlab(16.16, 29.87, -40.49)
CIE-LCHlch(16.16, 50.32, 306.41°)
OKLaboklab(29.04% 0.0379 -0.1163)
OKLCHoklch(29.04% 0.122 288)
XYZxyz(3.6378, 2.1314, 12.0217)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1963 #506319
analogous
#192B63 #2C1963 #511963
triadic
#2C1963 #632C19 #19632C
tetradic
#2C1963 #63192B #506319 #196351
square
#2C1963 #63192B #506319 #196351
split-complementary
#2C1963 #635119 #2B6319
monochromatic
#0B0618 #160D32 #2C1963 #422594 #5732C5

Accessibility & contrast

On white

14.72
#2C1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2C1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1963
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1963#FFFFFF#000000##FFFFFF
##2C19631.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#172C3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c1963;
/* rgb */ color: rgb(44, 25, 99);
/* oklch */ color: oklch(29.0% 0.122 288.0);
Tailwind
colors: {
  custom: {
    50: '#6c5790',
    500: '#2c1963',
    950: '#000000',
  },
}
SCSS
$custom: #2c1963;
$custom-light: #6c5790;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1963",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 255.405,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29035,
    "c": 0.12235,
    "h": 288
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#2C1963
secondary
#82993F
accent
#E345BA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #2C1963

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

Preview Lab → · Contrast checker → · Palette generator →

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