#2C1890#2C1890

#2C1890 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.180 H 278.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2C1890
RGBrgb(44, 24, 144)
HSLhsl(250, 71%, 33%)
HSVhsv(250, 83%, 56%)
CMYKcmyk(69.4%, 83.3%, 0%, 43.5%)
CIE-LABlab(20.83, 44.62, -61.61)
CIE-LCHlch(20.83, 76.08, 305.91°)
OKLaboklab(33.76% 0.0259 -0.178)
OKLCHoklch(33.76% 0.18 278.3)
XYZxyz(6.3978, 3.2018, 26.6610)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1890 #7C9018
analogous
#184090 #2C1890 #681890
triadic
#2C1890 #902C18 #18902C
tetradic
#2C1890 #901840 #7C9018 #189068
square
#2C1890 #901840 #7C9018 #189068
split-complementary
#2C1890 #906818 #409018
monochromatic
#0C0727 #1C0F5C #2C1890 #3C21C4 #5D43E0

Accessibility & contrast

On white

12.80
#2C1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C1890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1890
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1890#FFFFFF#000000##FFFFFF
##2C18901.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c1890;
/* rgb */ color: rgb(44, 24, 144);
/* oklch */ color: oklch(33.8% 0.180 278.3);
Tailwind
colors: {
  custom: {
    50: '#755ab2',
    500: '#2c1890',
    950: '#000000',
  },
}
SCSS
$custom: #2c1890;
$custom-light: #755ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1890",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 250,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3376,
    "c": 0.17984,
    "h": 278.3
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#2C1890
secondary
#ACC043
accent
#EE3AD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1890

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

Preview Lab → · Contrast checker → · Palette generator →

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