#2C1653#2C1653

#2C1653 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.105 H 295.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#2C1653
RGBrgb(44, 22, 83)
HSLhsl(262, 58%, 21%)
HSVhsv(262, 73%, 33%)
CMYKcmyk(47%, 73.5%, 0%, 67.5%)
CIE-LABlab(14.02, 26.59, -33.26)
CIE-LCHlch(14.02, 42.58, 308.64°)
OKLaboklab(27.04% 0.0443 -0.0951)
OKLCHoklch(27.04% 0.105 295)
XYZxyz(2.8865, 1.7338, 8.3645)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1653 #3D5316
analogous
#161F53 #2C1653 #4A1653
triadic
#2C1653 #532C16 #16532C
tetradic
#2C1653 #53161F #3D5316 #16534A
square
#2C1653 #53161F #3D5316 #16534A
split-complementary
#2C1653 #534A16 #1F5316
monochromatic
#0D0618 #120923 #2C1653 #462383 #5F30B4

Accessibility & contrast

On white

15.59
#2C1653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2C1653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1653
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1653#FFFFFF#000000##FFFFFF
##2C16531.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#212532
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2c1653;
/* rgb */ color: rgb(44, 22, 83);
/* oklch */ color: oklch(27.0% 0.105 295.0);
Tailwind
colors: {
  custom: {
    50: '#695584',
    500: '#2c1653',
    950: '#000000',
  },
}
SCSS
$custom: #2c1653;
$custom-light: #695584;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1653",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 261.639,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27044,
    "c": 0.10486,
    "h": 295
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#2C1653
secondary
#6E8A3A
accent
#E146A9
background
#F6F5F8
surface
#EBE8EF
border
#C6C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2C1653

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

Preview Lab → · Contrast checker → · Palette generator →

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