#2C083C#2C083C

#2C083C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.096 H 312.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2C083C
RGBrgb(44, 8, 60)
HSLhsl(282, 76%, 13%)
HSVhsv(282, 87%, 24%)
CMYKcmyk(26.7%, 86.7%, 0%, 76.5%)
CIE-LABlab(9.28, 27.69, -24.89)
CIE-LCHlch(9.28, 37.23, 318.04°)
OKLaboklab(23.04% 0.0654 -0.0704)
OKLCHoklch(23.04% 0.096 312.9)
XYZxyz(1.9410, 1.0354, 4.3717)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C083C #183C08
analogous
#12083C #2C083C #3C0832
triadic
#2C083C #3C2C08 #083C2C
tetradic
#2C083C #3C1208 #183C08 #08323C
square
#2C083C #3C1208 #183C08 #08323C
split-complementary
#2C083C #323C08 #083C12
monochromatic
#14041B #14041B #2C083C #540F72 #7B16A8

Accessibility & contrast

On white

17.40
#2C083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C083C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C083C#FFFFFF#000000##FFFFFF
##2C083C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#2A1421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c083c;
/* rgb */ color: rgb(44, 8, 60);
/* oklch */ color: oklch(23.0% 0.096 312.9);
Tailwind
colors: {
  custom: {
    50: '#684c72',
    500: '#2c083c',
    950: '#000000',
  },
}
SCSS
$custom: #2c083c;
$custom-light: #684c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c083c",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 281.538,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23035,
    "c": 0.09607,
    "h": 312.9
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#2C083C
secondary
#3F7B25
accent
#F3356F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C083C

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

Preview Lab → · Contrast checker → · Palette generator →

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