#2C103B#2C103B

#2C103B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.083 H 311.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2C103B
RGBrgb(44, 16, 59)
HSLhsl(279, 57%, 15%)
HSVhsv(279, 73%, 23%)
CMYKcmyk(25.4%, 72.9%, 0%, 76.9%)
CIE-LABlab(10.72, 23.18, -21.87)
CIE-LCHlch(10.72, 31.87, 316.67°)
OKLaboklab(24.03% 0.055 -0.0616)
OKLCHoklch(24.03% 0.083 311.8)
XYZxyz(2.0133, 1.2219, 4.2666)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C103B #1F3B10
analogous
#17103B #2C103B #3B1035
triadic
#2C103B #3B2C10 #103B2C
tetradic
#2C103B #3B1710 #1F3B10 #10353B
square
#2C103B #3B1710 #1F3B10 #10353B
split-complementary
#2C103B #353B10 #103B17
monochromatic
#120718 #120718 #2C103B #501D6B #742A9B

Accessibility & contrast

On white

16.88
#2C103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C103B
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C103B#FFFFFF#000000##FFFFFF
##2C103B1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#0C1D3A
Tritanopia (blue-blind)
#2A1823
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c103b;
/* rgb */ color: rgb(44, 16, 59);
/* oklch */ color: oklch(24.0% 0.083 311.8);
Tailwind
colors: {
  custom: {
    50: '#675071',
    500: '#2c103b',
    950: '#000000',
  },
}
SCSS
$custom: #2c103b;
$custom-light: #675071;
$custom-dark: #000000;
JSON
{
  "hex": "#2c103b",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 279.07,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24034,
    "c": 0.08255,
    "h": 311.8
  },
  "luminance": 0.01222
}

Semantic roles & 50–950 ramp

primary
#2C103B
secondary
#497532
accent
#E1477D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C103B

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

Preview Lab → · Contrast checker → · Palette generator →

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