#2C183D#2C183D

#2C183D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.070 H 307.1°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#2C183D
RGBrgb(44, 24, 61)
HSLhsl(272, 44%, 17%)
HSVhsv(272, 61%, 24%)
CMYKcmyk(27.9%, 60.7%, 0%, 76.1%)
CIE-LABlab(12.77, 18.65, -20.01)
CIE-LCHlch(12.77, 27.35, 312.97°)
OKLaboklab(25.58% 0.0425 -0.0562)
OKLCHoklch(25.58% 0.07 307.1)
XYZxyz(2.2075, 1.5257, 4.5922)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C183D #293D18
analogous
#1A183D #2C183D #3D183C
triadic
#2C183D #3D2C18 #183D2C
tetradic
#2C183D #3D1A18 #293D18 #183C3D
square
#2C183D #3D1A18 #293D18 #183C3D
split-complementary
#2C183D #3C3D18 #183D1A
monochromatic
#100916 #100916 #2C183D #4C2969 #6B3B95

Accessibility & contrast

On white

16.09
#2C183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C183D
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C183D#FFFFFF#000000##FFFFFF
##2C183D1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203E
Deuteranopia (green-blind)
#13213C
Tritanopia (blue-blind)
#291F27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c183d;
/* rgb */ color: rgb(44, 24, 61);
/* oklch */ color: oklch(25.6% 0.070 307.1);
Tailwind
colors: {
  custom: {
    50: '#665573',
    500: '#2c183d',
    950: '#000000',
  },
}
SCSS
$custom: #2c183d;
$custom-light: #665573;
$custom-dark: #000000;
JSON
{
  "hex": "#2c183d",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 272.432,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25582,
    "c": 0.07042,
    "h": 307.1
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#2C183D
secondary
#56733D
accent
#D3558F
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2C183D

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

Preview Lab → · Contrast checker → · Palette generator →

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