#2C0D50#2C0D50

#2C0D50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.113 H 299.0°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#2C0D50
RGBrgb(44, 13, 80)
HSLhsl(268, 72%, 18%)
HSVhsv(268, 84%, 31%)
CMYKcmyk(45%, 83.7%, 0%, 68.6%)
CIE-LABlab(11.97, 30.66, -34.55)
CIE-LCHlch(11.97, 46.19, 311.59°)
OKLaboklab(25.5% 0.0548 -0.0988)
OKLCHoklch(25.5% 0.113 299)
XYZxyz(2.6302, 1.4025, 7.7200)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D50 #31500D
analogous
#0D0F50 #2C0D50 #4D0D50
triadic
#2C0D50 #502C0D #0D502C
tetradic
#2C0D50 #500D0F #31500D #0D504D
square
#2C0D50 #500D0F #31500D #0D504D
split-complementary
#2C0D50 #504D0D #0F500D
monochromatic
#0E041A #0F041B #2C0D50 #491685 #661EB9

Accessibility & contrast

On white

16.40
#2C0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D50
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D50#FFFFFF#000000##FFFFFF
##2C0D501.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#231F2E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c0d50;
/* rgb */ color: rgb(44, 13, 80);
/* oklch */ color: oklch(25.5% 0.113 299.0);
Tailwind
colors: {
  custom: {
    50: '#6a4f82',
    500: '#2c0d50',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d50;
$custom-light: #6a4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d50",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 267.761,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25504,
    "c": 0.11297,
    "h": 299
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#2C0D50
secondary
#608B2E
accent
#EF399B
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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