#2C106A#2C106A

#2C106A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.6% C 0.141 H 287.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#2C106A
RGBrgb(44, 16, 106)
HSLhsl(259, 74%, 24%)
HSVhsv(259, 85%, 42%)
CMYKcmyk(58.5%, 84.9%, 0%, 58.4%)
CIE-LABlab(15.20, 36.84, -46.68)
CIE-LCHlch(15.20, 59.47, 308.28°)
OKLaboklab(28.58% 0.0434 -0.1344)
OKLCHoklch(28.58% 0.141 287.9)
XYZxyz(3.8247, 1.9465, 13.8070)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C106A #4E6A10
analogous
#10216A #2C106A #59106A
triadic
#2C106A #6A2C10 #106A2C
tetradic
#2C106A #6A1021 #4E6A10 #106A59
square
#2C106A #6A1021 #4E6A10 #106A59
split-complementary
#2C106A #6A5910 #216A10
monochromatic
#0B041B #160835 #2C106A #42189F #5820D4

Accessibility & contrast

On white

15.11
#2C106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C106A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C106A#FFFFFF#000000##FFFFFF
##2C106A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#112B3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c106a;
/* rgb */ color: rgb(44, 16, 106);
/* oklch */ color: oklch(28.6% 0.141 287.9);
Tailwind
colors: {
  custom: {
    50: '#6e5396',
    500: '#2c106a',
    950: '#000000',
  },
}
SCSS
$custom: #2c106a;
$custom-light: #6e5396;
$custom-dark: #000000;
JSON
{
  "hex": "#2c106a",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 258.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28582,
    "c": 0.1412,
    "h": 287.9
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#2C106A
secondary
#80A234
accent
#F037B7
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2C106A

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

Preview Lab → · Contrast checker → · Palette generator →

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