#2C1469#2C1469

#2C1469 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.136 H 287.5°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2C1469
RGBrgb(44, 20, 105)
HSLhsl(257, 68%, 25%)
HSVhsv(257, 81%, 41%)
CMYKcmyk(58.1%, 81%, 0%, 58.8%)
CIE-LABlab(15.78, 34.57, -45.08)
CIE-LCHlch(15.78, 56.81, 307.48°)
OKLaboklab(28.95% 0.0408 -0.1297)
OKLCHoklch(28.95% 0.136 287.5)
XYZxyz(3.8379, 2.0555, 13.5564)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1469 #516914
analogous
#142769 #2C1469 #571469
triadic
#2C1469 #692C14 #14692C
tetradic
#2C1469 #691427 #516914 #146957
square
#2C1469 #691427 #516914 #146957
split-complementary
#2C1469 #695714 #276914
monochromatic
#0B051A #160A36 #2C1469 #421E9C #5728D0

Accessibility & contrast

On white

14.88
#2C1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2C1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1469
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1469#FFFFFF#000000##FFFFFF
##2C14691.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#122C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c1469;
/* rgb */ color: rgb(44, 20, 105);
/* oklch */ color: oklch(28.9% 0.136 287.5);
Tailwind
colors: {
  custom: {
    50: '#6d5595',
    500: '#2c1469',
    950: '#000000',
  },
}
SCSS
$custom: #2c1469;
$custom-light: #6d5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1469",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 256.941,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.13599,
    "h": 287.5
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#2C1469
secondary
#83A039
accent
#EB3DBA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C1469

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

Preview Lab → · Contrast checker → · Palette generator →

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