#2C103D#2C103D

#2C103D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.085 H 310.2°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2C103D
RGBrgb(44, 16, 61)
HSLhsl(277, 58%, 15%)
HSVhsv(277, 74%, 24%)
CMYKcmyk(27.9%, 73.8%, 0%, 76.1%)
CIE-LABlab(10.87, 23.72, -23.05)
CIE-LCHlch(10.87, 33.07, 315.82°)
OKLaboklab(24.19% 0.0549 -0.065)
OKLCHoklch(24.19% 0.085 310.2)
XYZxyz(2.0661, 1.2430, 4.5451)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C103D #213D10
analogous
#15103D #2C103D #3D1038
triadic
#2C103D #3D2C10 #103D2C
tetradic
#2C103D #3D1510 #213D10 #10383D
square
#2C103D #3D1510 #213D10 #10383D
split-complementary
#2C103D #383D10 #103D15
monochromatic
#110618 #110618 #2C103D #4F1D6D #72299E

Accessibility & contrast

On white

16.82
#2C103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C103D
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C103D#FFFFFF#000000##FFFFFF
##2C103D1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#2A1924
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c103d;
/* rgb */ color: rgb(44, 16, 61);
/* oklch */ color: oklch(24.2% 0.085 310.2);
Tailwind
colors: {
  custom: {
    50: '#675073',
    500: '#2c103d',
    950: '#000000',
  },
}
SCSS
$custom: #2c103d;
$custom-light: #675073;
$custom-dark: #000000;
JSON
{
  "hex": "#2c103d",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 277.333,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24194,
    "c": 0.08511,
    "h": 310.2
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#2C103D
secondary
#4C7732
accent
#E24681
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C103D

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

Preview Lab → · Contrast checker → · Palette generator →

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