#2C153D#2C153D

#2C153D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.076 H 308.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#2C153D
RGBrgb(44, 21, 61)
HSLhsl(275, 49%, 16%)
HSVhsv(275, 66%, 24%)
CMYKcmyk(27.9%, 65.6%, 0%, 76.1%)
CIE-LABlab(12.02, 20.63, -21.21)
CIE-LCHlch(12.02, 29.59, 314.19°)
OKLaboklab(25.03% 0.0473 -0.0597)
OKLCHoklch(25.03% 0.076 308.4)
XYZxyz(2.1490, 1.4088, 4.5727)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C153D #263D15
analogous
#18153D #2C153D #3D153A
triadic
#2C153D #3D2C15 #153D2C
tetradic
#2C153D #3D1815 #263D15 #153A3D
square
#2C153D #3D1815 #263D15 #153A3D
split-complementary
#2C153D #3A3D15 #153D18
monochromatic
#100817 #100817 #2C153D #4D256B #6E3498

Accessibility & contrast

On white

16.38
#2C153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C153D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C153D#FFFFFF#000000##FFFFFF
##2C153D1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#2A1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c153d;
/* rgb */ color: rgb(44, 21, 61);
/* oklch */ color: oklch(25.0% 0.076 308.4);
Tailwind
colors: {
  custom: {
    50: '#675373',
    500: '#2c153d',
    950: '#000000',
  },
}
SCSS
$custom: #2c153d;
$custom-light: #675373;
$custom-dark: #000000;
JSON
{
  "hex": "#2c153d",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 274.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25027,
    "c": 0.07618,
    "h": 308.4
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#2C153D
secondary
#527539
accent
#D84F8A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C153D

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

Preview Lab → · Contrast checker → · Palette generator →

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