#2C104A#2C104A

#2C104A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.102 H 301.5°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#2C104A
RGBrgb(44, 16, 74)
HSLhsl(269, 64%, 18%)
HSVhsv(269, 78%, 29%)
CMYKcmyk(40.5%, 78.4%, 0%, 71%)
CIE-LABlab(11.96, 27.37, -30.43)
CIE-LCHlch(11.96, 40.93, 311.98°)
OKLaboklab(25.32% 0.0531 -0.0867)
OKLCHoklch(25.32% 0.102 301.5)
XYZxyz(2.4597, 1.4005, 6.6180)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C104A #2E4A10
analogous
#10114A #2C104A #49104A
triadic
#2C104A #4A2C10 #104A2C
tetradic
#2C104A #4A1011 #2E4A10 #104A49
square
#2C104A #4A1011 #2E4A10 #104A49
split-complementary
#2C104A #4A4910 #114A10
monochromatic
#0F0519 #0F0519 #2C104A #4A1B7C #6826AF

Accessibility & contrast

On white

16.41
#2C104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C104A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C104A#FFFFFF#000000##FFFFFF
##2C104A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#261E2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c104a;
/* rgb */ color: rgb(44, 16, 74);
/* oklch */ color: oklch(25.3% 0.102 301.5);
Tailwind
colors: {
  custom: {
    50: '#69517d',
    500: '#2c104a',
    950: '#000000',
  },
}
SCSS
$custom: #2c104a;
$custom-light: #69517d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c104a",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 268.966,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25319,
    "c": 0.10168,
    "h": 301.5
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#2C104A
secondary
#5C8432
accent
#E74097
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2C104A

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

Preview Lab → · Contrast checker → · Palette generator →

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