#2C1467#2C1467

#2C1467 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.133 H 288.1°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2C1467
RGBrgb(44, 20, 103)
HSLhsl(257, 67%, 24%)
HSVhsv(257, 81%, 40%)
CMYKcmyk(57.3%, 80.6%, 0%, 59.6%)
CIE-LABlab(15.57, 33.95, -44.11)
CIE-LCHlch(15.57, 55.67, 307.58°)
OKLaboklab(28.74% 0.0414 -0.1269)
OKLCHoklch(28.74% 0.133 288.1)
XYZxyz(3.7363, 2.0149, 13.0214)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1467 #4F6714
analogous
#142667 #2C1467 #561467
triadic
#2C1467 #672C14 #14672C
tetradic
#2C1467 #671426 #4F6714 #146756
square
#2C1467 #671426 #4F6714 #146756
split-complementary
#2C1467 #675614 #266714
monochromatic
#0B051A #160A34 #2C1467 #421E9A #5828CD

Accessibility & contrast

On white

14.97
#2C1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1467
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1467#FFFFFF#000000##FFFFFF
##2C14671.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#142B3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c1467;
/* rgb */ color: rgb(44, 20, 103);
/* oklch */ color: oklch(28.7% 0.133 288.1);
Tailwind
colors: {
  custom: {
    50: '#6d5593',
    500: '#2c1467',
    950: '#000000',
  },
}
SCSS
$custom: #2c1467;
$custom-light: #6d5593;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1467",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 257.349,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28736,
    "c": 0.13348,
    "h": 288.1
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#2C1467
secondary
#819E39
accent
#EA3DB8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1467

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

Preview Lab → · Contrast checker → · Palette generator →

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