#2C0943#2C0943

#2C0943 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.103 H 307.6°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2C0943
RGBrgb(44, 9, 67)
HSLhsl(276, 76%, 15%)
HSVhsv(276, 87%, 26%)
CMYKcmyk(34.3%, 86.6%, 0%, 73.7%)
CIE-LABlab(10.08, 28.99, -28.59)
CIE-LCHlch(10.08, 40.71, 315.40°)
OKLaboklab(23.79% 0.0626 -0.0812)
OKLCHoklch(23.79% 0.103 307.6)
XYZxyz(2.1493, 1.1361, 5.4152)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0943 #204309
analogous
#0F0943 #2C0943 #43093D
triadic
#2C0943 #432C09 #09432C
tetradic
#2C0943 #430F09 #204309 #093D43
square
#2C0943 #430F09 #204309 #093D43
split-complementary
#2C0943 #3D4309 #09430F
monochromatic
#12041B #12041B #2C0943 #4F1079 #7317AF

Accessibility & contrast

On white

17.11
#2C0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0943
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0943#FFFFFF#000000##FFFFFF
##2C09431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#281826
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0943;
/* rgb */ color: rgb(44, 9, 67);
/* oklch */ color: oklch(23.8% 0.103 307.6);
Tailwind
colors: {
  custom: {
    50: '#684d78',
    500: '#2c0943',
    950: '#000000',
  },
}
SCSS
$custom: #2c0943;
$custom-light: #684d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0943",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 276.207,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2379,
    "c": 0.10255,
    "h": 307.6
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#2C0943
secondary
#4B8127
accent
#F33580
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0943

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

Preview Lab → · Contrast checker → · Palette generator →

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