#2C103F#2C103F

#2C103F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.088 H 308.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#2C103F
RGBrgb(44, 16, 63)
HSLhsl(276, 59%, 15%)
HSVhsv(276, 75%, 25%)
CMYKcmyk(30.2%, 74.6%, 0%, 75.3%)
CIE-LABlab(11.03, 24.27, -24.22)
CIE-LCHlch(11.03, 34.28, 315.06°)
OKLaboklab(24.36% 0.0547 -0.0685)
OKLCHoklch(24.36% 0.088 308.6)
XYZxyz(2.1210, 1.2650, 4.8341)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C103F #233F10
analogous
#14103F #2C103F #3F103A
triadic
#2C103F #3F2C10 #103F2C
tetradic
#2C103F #3F1410 #233F10 #103A3F
square
#2C103F #3F1410 #233F10 #103A3F
split-complementary
#2C103F #3A3F10 #103F14
monochromatic
#110618 #110618 #2C103F #4E1C70 #7029A1

Accessibility & contrast

On white

16.76
#2C103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C103F
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C103F#FFFFFF#000000##FFFFFF
##2C103F1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#291A25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c103f;
/* rgb */ color: rgb(44, 16, 63);
/* oklch */ color: oklch(24.4% 0.088 308.6);
Tailwind
colors: {
  custom: {
    50: '#675074',
    500: '#2c103f',
    950: '#000000',
  },
}
SCSS
$custom: #2c103f;
$custom-light: #675074;
$custom-dark: #000000;
JSON
{
  "hex": "#2c103f",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 275.745,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24358,
    "c": 0.08765,
    "h": 308.6
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#2C103F
secondary
#4F7932
accent
#E34585
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C103F

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

Preview Lab → · Contrast checker → · Palette generator →

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