#2C1053#2C1053

#2C1053 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.113 H 296.8°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2C1053
RGBrgb(44, 16, 83)
HSLhsl(265, 68%, 19%)
HSVhsv(265, 81%, 33%)
CMYKcmyk(47%, 80.7%, 0%, 67.5%)
CIE-LABlab(12.80, 30.00, -35.25)
CIE-LCHlch(12.80, 46.29, 310.40°)
OKLaboklab(26.18% 0.0509 -0.1009)
OKLCHoklch(26.18% 0.113 296.8)
XYZxyz(2.7849, 1.5305, 8.3306)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1053 #375310
analogous
#101553 #2C1053 #4E1053
triadic
#2C1053 #532C10 #10532C
tetradic
#2C1053 #531015 #375310 #10534E
square
#2C1053 #531015 #375310 #10534E
split-complementary
#2C1053 #534E10 #155310
monochromatic
#0E051A #110620 #2C1053 #471A86 #6224BA

Accessibility & contrast

On white

16.08
#2C1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1053
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1053#FFFFFF#000000##FFFFFF
##2C10531.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#222230
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c1053;
/* rgb */ color: rgb(44, 16, 83);
/* oklch */ color: oklch(26.2% 0.113 296.8);
Tailwind
colors: {
  custom: {
    50: '#6a5184',
    500: '#2c1053',
    950: '#000000',
  },
}
SCSS
$custom: #2c1053;
$custom-light: #6a5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1053",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 265.075,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26176,
    "c": 0.11301,
    "h": 296.8
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#2C1053
secondary
#678D32
accent
#EB3DA2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1053

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

Preview Lab → · Contrast checker → · Palette generator →

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