#2C105A#2C105A

#2C105A is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.122 H 293.7°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#2C105A
RGBrgb(44, 16, 90)
HSLhsl(263, 70%, 21%)
HSVhsv(263, 82%, 35%)
CMYKcmyk(51.1%, 82.2%, 0%, 64.7%)
CIE-LABlab(13.50, 32.08, -38.85)
CIE-LCHlch(13.50, 50.39, 309.54°)
OKLaboklab(26.88% 0.0489 -0.1115)
OKLCHoklch(26.88% 0.122 293.7)
XYZxyz(3.0690, 1.6441, 9.8265)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C105A #3E5A10
analogous
#10195A #2C105A #51105A
triadic
#2C105A #5A2C10 #105A2C
tetradic
#2C105A #5A1019 #3E5A10 #105A51
square
#2C105A #5A1019 #3E5A10 #105A51
split-complementary
#2C105A #5A5110 #195A10
monochromatic
#0D051A #130726 #2C105A #45198E #5F22C2

Accessibility & contrast

On white

15.80
#2C105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C105A
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C105A#FFFFFF#000000##FFFFFF
##2C105A1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#1E2434
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c105a;
/* rgb */ color: rgb(44, 16, 90);
/* oklch */ color: oklch(26.9% 0.122 293.7);
Tailwind
colors: {
  custom: {
    50: '#6b5289',
    500: '#2c105a',
    950: '#000000',
  },
}
SCSS
$custom: #2c105a;
$custom-light: #6b5289;
$custom-dark: #000000;
JSON
{
  "hex": "#2c105a",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 262.703,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26878,
    "c": 0.12171,
    "h": 293.7
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#2C105A
secondary
#6F9333
accent
#ED3BA9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2C105A

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

Preview Lab → · Contrast checker → · Palette generator →

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