#2C0A45#2C0A45

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

Color values

HEX#2C0A45
RGBrgb(44, 10, 69)
HSLhsl(275, 75%, 15%)
HSVhsv(275, 86%, 27%)
CMYKcmyk(36.2%, 85.5%, 0%, 72.9%)
CIE-LABlab(10.43, 29.05, -29.43)
CIE-LCHlch(10.43, 41.35, 314.62°)
OKLaboklab(24.09% 0.061 -0.0837)
OKLCHoklch(24.09% 0.104 306.1)
XYZxyz(2.2212, 1.1822, 5.7403)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A45 #23450A
analogous
#0E0A45 #2C0A45 #450A40
triadic
#2C0A45 #452C0A #0A452C
tetradic
#2C0A45 #450E0A #23450A #0A4045
square
#2C0A45 #450E0A #23450A #0A4045
split-complementary
#2C0A45 #40450A #0A450E
monochromatic
#11041B #11041B #2C0A45 #4E127A #7019B0

Accessibility & contrast

On white

16.98
#2C0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A45
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A45#FFFFFF#000000##FFFFFF
##2C0A451.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0a45;
/* rgb */ color: rgb(44, 10, 69);
/* oklch */ color: oklch(24.1% 0.104 306.1);
Tailwind
colors: {
  custom: {
    50: '#684d79',
    500: '#2c0a45',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a45;
$custom-light: #684d79;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a45",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 274.576,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24092,
    "c": 0.10359,
    "h": 306.1
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#2C0A45
secondary
#4F8229
accent
#F13686
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2C0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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