#2C0946#2C0946

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

Color values

HEX#2C0946
RGBrgb(44, 9, 70)
HSLhsl(274, 77%, 15%)
HSVhsv(274, 87%, 27%)
CMYKcmyk(37.1%, 87.1%, 0%, 72.5%)
CIE-LABlab(10.36, 29.78, -30.24)
CIE-LCHlch(10.36, 42.44, 314.55°)
OKLaboklab(24.07% 0.0617 -0.0861)
OKLCHoklch(24.07% 0.106 305.6)
XYZxyz(2.2416, 1.1731, 5.9015)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0946 #234609
analogous
#0D0946 #2C0946 #460941
triadic
#2C0946 #462C09 #09462C
tetradic
#2C0946 #460D09 #234609 #094146
square
#2C0946 #460D09 #234609 #094146
split-complementary
#2C0946 #414609 #09460D
monochromatic
#11031B #11031B #2C0946 #4E107C #7017B2

Accessibility & contrast

On white

17.01
#2C0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0946
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0946#FFFFFF#000000##FFFFFF
##2C09461.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0946;
/* rgb */ color: rgb(44, 9, 70);
/* oklch */ color: oklch(24.1% 0.106 305.6);
Tailwind
colors: {
  custom: {
    50: '#694d7a',
    500: '#2c0946',
    950: '#000000',
  },
}
SCSS
$custom: #2c0946;
$custom-light: #694d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0946",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 274.426,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24073,
    "c": 0.10596,
    "h": 305.6
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#2C0946
secondary
#4F8427
accent
#F43486
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0946

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

Preview Lab → · Contrast checker → · Palette generator →

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