#2C0847#2C0847

#2C0847 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.108 H 305.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2C0847
RGBrgb(44, 8, 71)
HSLhsl(274, 80%, 15%)
HSVhsv(274, 89%, 28%)
CMYKcmyk(38%, 88.7%, 0%, 72.2%)
CIE-LABlab(10.29, 30.52, -31.06)
CIE-LCHlch(10.29, 43.54, 314.50°)
OKLaboklab(24.06% 0.0625 -0.0885)
OKLCHoklch(24.06% 0.108 305.2)
XYZxyz(2.2626, 1.1641, 6.0655)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0847 #234708
analogous
#0D0847 #2C0847 #470842
triadic
#2C0847 #472C08 #08472C
tetradic
#2C0847 #470D08 #234708 #084247
square
#2C0847 #470D08 #234708 #084247
split-complementary
#2C0847 #424708 #08470D
monochromatic
#11031C #11031C #2C0847 #4E0E7E #7014B5

Accessibility & contrast

On white

17.03
#2C0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0847
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0847#FFFFFF#000000##FFFFFF
##2C08471.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#271928
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0847;
/* rgb */ color: rgb(44, 8, 71);
/* oklch */ color: oklch(24.1% 0.108 305.2);
Tailwind
colors: {
  custom: {
    50: '#694c7b',
    500: '#2c0847',
    950: '#000000',
  },
}
SCSS
$custom: #2c0847;
$custom-light: #694c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0847",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 274.286,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.10833,
    "h": 305.2
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#2C0847
secondary
#4F8526
accent
#F63286
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2C0847

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

Preview Lab → · Contrast checker → · Palette generator →

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