#2C084A#2C084A

#2C084A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.112 H 303.4°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2C084A
RGBrgb(44, 8, 74)
HSLhsl(273, 80%, 16%)
HSVhsv(273, 89%, 29%)
CMYKcmyk(40.5%, 89.2%, 0%, 71%)
CIE-LABlab(10.58, 31.31, -32.67)
CIE-LCHlch(10.58, 45.25, 313.78°)
OKLaboklab(24.35% 0.0615 -0.0932)
OKLCHoklch(24.35% 0.112 303.4)
XYZxyz(2.3613, 1.2036, 6.5851)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C084A #264A08
analogous
#0B084A #2C084A #4A0847
triadic
#2C084A #4A2C08 #084A2C
tetradic
#2C084A #4A0B08 #264A08 #08474A
square
#2C084A #4A0B08 #264A08 #08474A
split-complementary
#2C084A #474A08 #084A0B
monochromatic
#10031C #10031C #2C084A #4D0E81 #6E14B8

Accessibility & contrast

On white

16.92
#2C084A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C084A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C084A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C084A#FFFFFF#000000##FFFFFF
##2C084A1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#261A29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c084a;
/* rgb */ color: rgb(44, 8, 74);
/* oklch */ color: oklch(24.4% 0.112 303.4);
Tailwind
colors: {
  custom: {
    50: '#694d7d',
    500: '#2c084a',
    950: '#000000',
  },
}
SCSS
$custom: #2c084a;
$custom-light: #694d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c084a",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 74
  },
  "hsl": {
    "h": 272.727,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24351,
    "c": 0.11168,
    "h": 303.4
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#2C084A
secondary
#528826
accent
#F7318B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2C084A

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

Preview Lab → · Contrast checker → · Palette generator →

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