#2C103C#2C103C

#2C103C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.084 H 311.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#2C103C
RGBrgb(44, 16, 60)
HSLhsl(278, 58%, 15%)
HSVhsv(278, 73%, 24%)
CMYKcmyk(26.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(10.79, 23.45, -22.46)
CIE-LCHlch(10.79, 32.47, 316.24°)
OKLaboklab(24.11% 0.055 -0.0633)
OKLCHoklch(24.11% 0.084 311)
XYZxyz(2.0395, 1.2323, 4.4045)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C103C #203C10
analogous
#16103C #2C103C #3C1036
triadic
#2C103C #3C2C10 #103C2C
tetradic
#2C103C #3C1610 #203C10 #10363C
square
#2C103C #3C1610 #203C10 #10363C
split-complementary
#2C103C #363C10 #103C16
monochromatic
#120618 #120618 #2C103C #4F1D6C #732A9D

Accessibility & contrast

On white

16.85
#2C103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C103C
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C103C#FFFFFF#000000##FFFFFF
##2C103C1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c103c;
/* rgb */ color: rgb(44, 16, 60);
/* oklch */ color: oklch(24.1% 0.084 311.0);
Tailwind
colors: {
  custom: {
    50: '#675072',
    500: '#2c103c',
    950: '#000000',
  },
}
SCSS
$custom: #2c103c;
$custom-light: #675072;
$custom-dark: #000000;
JSON
{
  "hex": "#2c103c",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24114,
    "c": 0.08382,
    "h": 311
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#2C103C
secondary
#4B7632
accent
#E1477F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C103C

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

Preview Lab → · Contrast checker → · Palette generator →

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