#2D183C#2D183C

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

Color values

HEX#2D183C
RGBrgb(45, 24, 60)
HSLhsl(275, 43%, 16%)
HSVhsv(275, 60%, 24%)
CMYKcmyk(25%, 60%, 0%, 76.5%)
CIE-LABlab(12.84, 18.69, -19.18)
CIE-LCHlch(12.84, 26.78, 314.26°)
OKLaboklab(25.65% 0.0439 -0.0537)
OKLCHoklch(25.65% 0.069 309.3)
XYZxyz(2.2243, 1.5374, 4.4537)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D183C #273C18
analogous
#1B183C #2D183C #3C1839
triadic
#2D183C #3C2D18 #183C2D
tetradic
#2D183C #3C1B18 #273C18 #18393C
square
#2D183C #3C1B18 #273C18 #18393C
split-complementary
#2D183C #393C18 #183C1B
monochromatic
#100916 #100916 #2D183C #4E2968 #6F3B93

Accessibility & contrast

On white

16.06
#2D183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D183C
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D183C#FFFFFF#000000##FFFFFF
##2D183C1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203D
Deuteranopia (green-blind)
#14223B
Tritanopia (blue-blind)
#2B1E27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d183c;
/* rgb */ color: rgb(45, 24, 60);
/* oklch */ color: oklch(25.6% 0.069 309.3);
Tailwind
colors: {
  custom: {
    50: '#675572',
    500: '#2d183c',
    950: '#000000',
  },
}
SCSS
$custom: #2d183c;
$custom-light: #675572;
$custom-dark: #000000;
JSON
{
  "hex": "#2d183c",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 275,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25646,
    "c": 0.06938,
    "h": 309.3
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#2D183C
secondary
#54723E
accent
#D35589
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2D183C

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

Preview Lab → · Contrast checker → · Palette generator →

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