#2C1083#2C1083

#2C1083 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.4% C 0.171 H 281.5°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2C1083
RGBrgb(44, 16, 131)
HSLhsl(255, 78%, 29%)
HSVhsv(255, 88%, 51%)
CMYKcmyk(66.4%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.12, 44.20, -57.96)
CIE-LCHlch(18.12, 72.89, 307.32°)
OKLaboklab(31.44% 0.0339 -0.1672)
OKLCHoklch(31.44% 0.171 281.5)
XYZxyz(5.3194, 2.5443, 21.6791)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1083 #678310
analogous
#102E83 #2C1083 #661083
triadic
#2C1083 #832C10 #10832C
tetradic
#2C1083 #83102E #678310 #108366
square
#2C1083 #83102E #678310 #108366
split-complementary
#2C1083 #836610 #2E8310
monochromatic
#09031B #1A094C #2C1083 #3E17BA #5629E5

Accessibility & contrast

On white

13.92
#2C1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2C1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1083
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1083#FFFFFF#000000##FFFFFF
##2C10831.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00364C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2c1083;
/* rgb */ color: rgb(44, 16, 131);
/* oklch */ color: oklch(31.4% 0.171 281.5);
Tailwind
colors: {
  custom: {
    50: '#7355a8',
    500: '#2c1083',
    950: '#000000',
  },
}
SCSS
$custom: #2c1083;
$custom-light: #7355a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1083",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 254.609,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31443,
    "c": 0.17063,
    "h": 281.5
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#2C1083
secondary
#99B936
accent
#F533C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #2C1083

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

Preview Lab → · Contrast checker → · Palette generator →

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