#2C109F#2C109F

#2C109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.8% C 0.202 H 276.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2C109F
RGBrgb(44, 16, 159)
HSLhsl(252, 82%, 34%)
HSVhsv(252, 90%, 62%)
CMYKcmyk(72.3%, 89.9%, 0%, 37.6%)
CIE-LABlab(21.61, 52.15, -69.57)
CIE-LCHlch(21.61, 86.95, 306.85°)
OKLaboklab(34.82% 0.0234 -0.2009)
OKLCHoklch(34.82% 0.202 276.7)
XYZxyz(7.4800, 3.4086, 33.0579)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C109F #839F10
analogous
#103C9F #2C109F #74109F
triadic
#2C109F #9F2C10 #109F2C
tetradic
#2C109F #9F103C #839F10 #109F74
square
#2C109F #9F103C #839F10 #109F74
split-complementary
#2C109F #9F7410 #3C9F10
monochromatic
#0D0530 #1D0A67 #2C109F #3B16D7 #603EEC

Accessibility & contrast

On white

12.49
#2C109F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C109F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C109F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C109F#FFFFFF#000000##FFFFFF
##2C109F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c109f;
/* rgb */ color: rgb(44, 16, 159);
/* oklch */ color: oklch(34.8% 0.202 276.7);
Tailwind
colors: {
  custom: {
    50: '#7957bd',
    500: '#2c109f',
    950: '#000000',
  },
}
SCSS
$custom: #2c109f;
$custom-light: #7957bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c109f",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 159
  },
  "hsl": {
    "h": 251.748,
    "s": 81.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34821,
    "c": 0.20228,
    "h": 276.7
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#2C109F
secondary
#B0CB40
accent
#F830D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C109F

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

Preview Lab → · Contrast checker → · Palette generator →

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