#2C1953#2C1953

#2C1953 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.100 H 293.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#2C1953
RGBrgb(44, 25, 83)
HSLhsl(260, 54%, 21%)
HSVhsv(260, 70%, 33%)
CMYKcmyk(47%, 69.9%, 0%, 67.5%)
CIE-LABlab(14.71, 24.72, -32.14)
CIE-LCHlch(14.71, 40.55, 307.56°)
OKLaboklab(27.54% 0.0406 -0.0918)
OKLCHoklch(27.54% 0.1 293.9)
XYZxyz(2.9472, 1.8552, 8.3847)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1953 #405319
analogous
#192353 #2C1953 #491953
triadic
#2C1953 #532C19 #19532C
tetradic
#2C1953 #531923 #405319 #195349
square
#2C1953 #531923 #405319 #195349
split-complementary
#2C1953 #534919 #235319
monochromatic
#0C0718 #130B24 #2C1953 #452782 #5E35B1

Accessibility & contrast

On white

15.32
#2C1953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C1953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1953
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1953#FFFFFF#000000##FFFFFF
##2C19531.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#212733
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c1953;
/* rgb */ color: rgb(44, 25, 83);
/* oklch */ color: oklch(27.5% 0.100 293.9);
Tailwind
colors: {
  custom: {
    50: '#695784',
    500: '#2c1953',
    950: '#000000',
  },
}
SCSS
$custom: #2c1953;
$custom-light: #695784;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1953",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 83
  },
  "hsl": {
    "h": 259.655,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27538,
    "c": 0.10036,
    "h": 293.9
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#2C1953
secondary
#71893E
accent
#DD4BAD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #2C1953

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

Preview Lab → · Contrast checker → · Palette generator →

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