#2C184D#2C184D

#2C184D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.093 H 297.0°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#2C184D
RGBrgb(44, 24, 77)
HSLhsl(263, 52%, 20%)
HSVhsv(263, 69%, 30%)
CMYKcmyk(42.9%, 68.8%, 0%, 69.8%)
CIE-LABlab(13.97, 23.47, -29.24)
CIE-LCHlch(13.97, 37.50, 308.75°)
OKLaboklab(26.84% 0.0425 -0.0833)
OKLCHoklch(26.84% 0.093 297)
XYZxyz(2.7046, 1.7245, 7.2101)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C184D #394D18
analogous
#181E4D #2C184D #47184D
triadic
#2C184D #4D2C18 #184D2C
tetradic
#2C184D #4D181E #394D18 #184D47
square
#2C184D #4D181E #394D18 #184D47
split-complementary
#2C184D #4D4718 #1E4D18
monochromatic
#0D0717 #11091E #2C184D #47277C #6135AA

Accessibility & contrast

On white

15.61
#2C184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2C184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C184D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C184D#FFFFFF#000000##FFFFFF
##2C184D1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#01234C
Tritanopia (blue-blind)
#24242F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2c184d;
/* rgb */ color: rgb(44, 24, 77);
/* oklch */ color: oklch(26.8% 0.093 297.0);
Tailwind
colors: {
  custom: {
    50: '#68567f',
    500: '#2c184d',
    950: '#000000',
  },
}
SCSS
$custom: #2c184d;
$custom-light: #68567f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c184d",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 262.642,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26844,
    "c": 0.09347,
    "h": 297
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#2C184D
secondary
#69843D
accent
#DC4CA6
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2C184D

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

Preview Lab → · Contrast checker → · Palette generator →

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