#2C084B#2C084B

#2C084B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.113 H 302.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2C084B
RGBrgb(44, 8, 75)
HSLhsl(272, 81%, 16%)
HSVhsv(272, 89%, 29%)
CMYKcmyk(41.3%, 89.3%, 0%, 70.6%)
CIE-LABlab(10.68, 31.58, -33.20)
CIE-LCHlch(10.68, 45.82, 313.56°)
OKLaboklab(24.45% 0.0611 -0.0948)
OKLCHoklch(24.45% 0.113 302.8)
XYZxyz(2.3952, 1.2171, 6.7640)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C084B #274B08
analogous
#0B084B #2C084B #4B0849
triadic
#2C084B #4B2C08 #084B2C
tetradic
#2C084B #4B0B08 #274B08 #08494B
square
#2C084B #4B0B08 #274B08 #08494B
split-complementary
#2C084B #494B08 #084B0B
monochromatic
#10031C #10031C #2C084B #4C0E82 #6D14BA

Accessibility & contrast

On white

16.89
#2C084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C084B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C084B#FFFFFF#000000##FFFFFF
##2C084B1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#251B2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c084b;
/* rgb */ color: rgb(44, 8, 75);
/* oklch */ color: oklch(24.5% 0.113 302.8);
Tailwind
colors: {
  custom: {
    50: '#694d7e',
    500: '#2c084b',
    950: '#000000',
  },
}
SCSS
$custom: #2c084b;
$custom-light: #694d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c084b",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 272.239,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24451,
    "c": 0.11281,
    "h": 302.8
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#2C084B
secondary
#548926
accent
#F7318C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2C084B

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

Preview Lab → · Contrast checker → · Palette generator →

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