#2C083E#2C083E

#2C083E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.098 H 311.4°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2C083E
RGBrgb(44, 8, 62)
HSLhsl(280, 77%, 14%)
HSVhsv(280, 87%, 24%)
CMYKcmyk(29%, 87.1%, 0%, 75.7%)
CIE-LABlab(9.46, 28.19, -26.04)
CIE-LCHlch(9.46, 38.38, 317.27°)
OKLaboklab(23.21% 0.0649 -0.0738)
OKLCHoklch(23.21% 0.098 311.4)
XYZxyz(1.9949, 1.0570, 4.6554)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C083E #1A3E08
analogous
#11083E #2C083E #3E0835
triadic
#2C083E #3E2C08 #083E2C
tetradic
#2C083E #3E1108 #1A3E08 #08353E
square
#2C083E #3E1108 #1A3E08 #08353E
split-complementary
#2C083E #353E08 #083E11
monochromatic
#13031B #13031B #2C083E #520F74 #7916AA

Accessibility & contrast

On white

17.34
#2C083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C083E
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C083E#FFFFFF#000000##FFFFFF
##2C083E1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#2A1523
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c083e;
/* rgb */ color: rgb(44, 8, 62);
/* oklch */ color: oklch(23.2% 0.098 311.4);
Tailwind
colors: {
  custom: {
    50: '#684c74',
    500: '#2c083e',
    950: '#000000',
  },
}
SCSS
$custom: #2c083e;
$custom-light: #684c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c083e",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 280,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23212,
    "c": 0.09828,
    "h": 311.4
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#2C083E
secondary
#427D25
accent
#F43474
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C083E

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

Preview Lab → · Contrast checker → · Palette generator →

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