#2C083F#2C083F

#2C083F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.099 H 310.6°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2C083F
RGBrgb(44, 8, 63)
HSLhsl(279, 77%, 14%)
HSVhsv(279, 87%, 25%)
CMYKcmyk(30.2%, 87.3%, 0%, 75.3%)
CIE-LABlab(9.55, 28.44, -26.61)
CIE-LCHlch(9.55, 38.95, 316.90°)
OKLaboklab(23.3% 0.0647 -0.0754)
OKLCHoklch(23.3% 0.099 310.6)
XYZxyz(2.0226, 1.0681, 4.8013)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C083F #1B3F08
analogous
#11083F #2C083F #3F0837
triadic
#2C083F #3F2C08 #083F2C
tetradic
#2C083F #3F1108 #1B3F08 #08373F
square
#2C083F #3F1108 #1B3F08 #08373F
split-complementary
#2C083F #373F08 #083F11
monochromatic
#13031B #13031B #2C083F #520F75 #7816AC

Accessibility & contrast

On white

17.30
#2C083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C083F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C083F#FFFFFF#000000##FFFFFF
##2C083F1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#291523
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c083f;
/* rgb */ color: rgb(44, 8, 63);
/* oklch */ color: oklch(23.3% 0.099 310.6);
Tailwind
colors: {
  custom: {
    50: '#684c74',
    500: '#2c083f',
    950: '#000000',
  },
}
SCSS
$custom: #2c083f;
$custom-light: #684c74;
$custom-dark: #000000;
JSON
{
  "hex": "#2c083f",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 279.273,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23303,
    "c": 0.09939,
    "h": 310.6
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2C083F
secondary
#447E25
accent
#F43476
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2C083F

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

Preview Lab → · Contrast checker → · Palette generator →

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