#2C1350#2C1350

#2C1350 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.105 H 297.4°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#2C1350
RGBrgb(44, 19, 80)
HSLhsl(265, 62%, 19%)
HSVhsv(265, 76%, 31%)
CMYKcmyk(45%, 76.3%, 0%, 68.6%)
CIE-LABlab(13.11, 27.45, -32.69)
CIE-LCHlch(13.11, 42.69, 310.01°)
OKLaboklab(26.31% 0.0484 -0.0934)
OKLCHoklch(26.31% 0.105 297.4)
XYZxyz(2.7192, 1.5804, 7.7496)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1350 #375013
analogous
#131950 #2C1350 #4B1350
triadic
#2C1350 #502C13 #13502C
tetradic
#2C1350 #501319 #375013 #13504B
square
#2C1350 #501319 #375013 #13504B
split-complementary
#2C1350 #504B13 #195013
monochromatic
#0E0619 #11071F #2C1350 #471F81 #622AB3

Accessibility & contrast

On white

15.96
#2C1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2C1350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1350
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1350#FFFFFF#000000##FFFFFF
##2C13501.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#232230
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1350;
/* rgb */ color: rgb(44, 19, 80);
/* oklch */ color: oklch(26.3% 0.105 297.4);
Tailwind
colors: {
  custom: {
    50: '#695382',
    500: '#2c1350',
    950: '#000000',
  },
}
SCSS
$custom: #2c1350;
$custom-light: #695382;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1350",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 264.59,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26307,
    "c": 0.10517,
    "h": 297.4
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#2C1350
secondary
#678936
accent
#E543A2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C1350

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

Preview Lab → · Contrast checker → · Palette generator →

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