#2C1465#2C1465

#2C1465 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.131 H 288.7°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#2C1465
RGBrgb(44, 20, 101)
HSLhsl(258, 67%, 24%)
HSVhsv(258, 80%, 40%)
CMYKcmyk(56.4%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.36, 33.33, -43.14)
CIE-LCHlch(15.36, 54.52, 307.69°)
OKLaboklab(28.53% 0.042 -0.124)
OKLCHoklch(28.53% 0.131 288.7)
XYZxyz(3.6371, 1.9752, 12.4990)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1465 #4D6514
analogous
#142465 #2C1465 #541465
triadic
#2C1465 #652C14 #14652C
tetradic
#2C1465 #651424 #4D6514 #146554
square
#2C1465 #651424 #4D6514 #146554
split-complementary
#2C1465 #655414 #246514
monochromatic
#0B051A #160A32 #2C1465 #421E98 #5928CB

Accessibility & contrast

On white

15.05
#2C1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1465
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1465#FFFFFF#000000##FFFFFF
##2C14651.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#162B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c1465;
/* rgb */ color: rgb(44, 20, 101);
/* oklch */ color: oklch(28.5% 0.131 288.7);
Tailwind
colors: {
  custom: {
    50: '#6d5592',
    500: '#2c1465',
    950: '#000000',
  },
}
SCSS
$custom: #2c1465;
$custom-light: #6d5592;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1465",
  "rgb": {
    "r": 44,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 257.778,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.13096,
    "h": 288.7
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#2C1465
secondary
#7F9C39
accent
#EA3EB7
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2C1465

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

Preview Lab → · Contrast checker → · Palette generator →

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