#2C083D#2C083D

#2C083D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.097 H 312.1°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2C083D
RGBrgb(44, 8, 61)
HSLhsl(281, 77%, 14%)
HSVhsv(281, 87%, 24%)
CMYKcmyk(27.9%, 86.9%, 0%, 76.1%)
CIE-LABlab(9.37, 27.94, -25.47)
CIE-LCHlch(9.37, 37.81, 317.65°)
OKLaboklab(23.12% 0.0652 -0.0721)
OKLCHoklch(23.12% 0.097 312.1)
XYZxyz(1.9677, 1.0461, 4.5122)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C083D #193D08
analogous
#11083D #2C083D #3D0833
triadic
#2C083D #3D2C08 #083D2C
tetradic
#2C083D #3D1108 #193D08 #08333D
square
#2C083D #3D1108 #193D08 #08333D
split-complementary
#2C083D #333D08 #083D11
monochromatic
#14041B #14041B #2C083D #530F73 #7A16A9

Accessibility & contrast

On white

17.37
#2C083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C083D
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C083D#FFFFFF#000000##FFFFFF
##2C083D1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#2A1422
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c083d;
/* rgb */ color: rgb(44, 8, 61);
/* oklch */ color: oklch(23.1% 0.097 312.1);
Tailwind
colors: {
  custom: {
    50: '#684c73',
    500: '#2c083d',
    950: '#000000',
  },
}
SCSS
$custom: #2c083d;
$custom-light: #684c73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c083d",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 280.755,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23123,
    "c": 0.09717,
    "h": 312.1
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#2C083D
secondary
#417C25
accent
#F33472
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C083D

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

Preview Lab → · Contrast checker → · Palette generator →

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