#2C1365#2C1365

#2C1365 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.132 H 288.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#2C1365
RGBrgb(44, 19, 101)
HSLhsl(258, 68%, 24%)
HSVhsv(258, 81%, 40%)
CMYKcmyk(56.4%, 81.2%, 0%, 60.4%)
CIE-LABlab(15.17, 33.86, -43.44)
CIE-LCHlch(15.17, 55.08, 307.94°)
OKLaboklab(28.4% 0.0428 -0.1249)
OKLCHoklch(28.4% 0.132 288.9)
XYZxyz(3.6199, 1.9406, 12.4932)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1365 #4C6513
analogous
#132365 #2C1365 #551365
triadic
#2C1365 #652C13 #13652C
tetradic
#2C1365 #651323 #4C6513 #136555
square
#2C1365 #651323 #4C6513 #136555
split-complementary
#2C1365 #655513 #236513
monochromatic
#0B051A #160931 #2C1365 #421D99 #5926CC

Accessibility & contrast

On white

15.13
#2C1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C1365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1365
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1365#FFFFFF#000000##FFFFFF
##2C13651.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1365;
/* rgb */ color: rgb(44, 19, 101);
/* oklch */ color: oklch(28.4% 0.132 288.9);
Tailwind
colors: {
  custom: {
    50: '#6d5492',
    500: '#2c1365',
    950: '#000000',
  },
}
SCSS
$custom: #2c1365;
$custom-light: #6d5492;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1365",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 258.293,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28398,
    "c": 0.13206,
    "h": 288.9
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#2C1365
secondary
#7E9D37
accent
#EB3DB6
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2C1365

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

Preview Lab → · Contrast checker → · Palette generator →

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