#2C0846#2C0846

#2C0846 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.107 H 305.9°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2C0846
RGBrgb(44, 8, 70)
HSLhsl(275, 79%, 15%)
HSVhsv(275, 89%, 27%)
CMYKcmyk(37.1%, 88.6%, 0%, 72.5%)
CIE-LABlab(10.19, 30.25, -30.51)
CIE-LCHlch(10.19, 42.97, 314.76°)
OKLaboklab(23.96% 0.0628 -0.0869)
OKLCHoklch(23.96% 0.107 305.9)
XYZxyz(2.2308, 1.1514, 5.8979)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0846 #224608
analogous
#0D0846 #2C0846 #460841
triadic
#2C0846 #462C08 #08462C
tetradic
#2C0846 #460D08 #224608 #084146
square
#2C0846 #460D08 #224608 #084146
split-complementary
#2C0846 #414608 #08460D
monochromatic
#11031B #11031B #2C0846 #4F0E7D #7115B4

Accessibility & contrast

On white

17.07
#2C0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0846
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0846#FFFFFF#000000##FFFFFF
##2C08461.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#271827
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c0846;
/* rgb */ color: rgb(44, 8, 70);
/* oklch */ color: oklch(24.0% 0.107 305.9);
Tailwind
colors: {
  custom: {
    50: '#694c7a',
    500: '#2c0846',
    950: '#000000',
  },
}
SCSS
$custom: #2c0846;
$custom-light: #694c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0846",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 274.839,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23959,
    "c": 0.10721,
    "h": 305.9
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#2C0846
secondary
#4D8426
accent
#F63284
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0846

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

Preview Lab → · Contrast checker → · Palette generator →

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