#2D183D#2D183D

#2D183D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.071 H 308.4°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#2D183D
RGBrgb(45, 24, 61)
HSLhsl(274, 44%, 17%)
HSVhsv(274, 61%, 24%)
CMYKcmyk(26.2%, 60.7%, 0%, 76.1%)
CIE-LABlab(12.91, 18.97, -19.78)
CIE-LCHlch(12.91, 27.41, 313.80°)
OKLaboklab(25.72% 0.044 -0.0555)
OKLCHoklch(25.72% 0.071 308.4)
XYZxyz(2.2510, 1.5481, 4.5942)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D183D #283D18
analogous
#1B183D #2D183D #3D183B
triadic
#2D183D #3D2D18 #183D2D
tetradic
#2D183D #3D1B18 #283D18 #183B3D
square
#2D183D #3D1B18 #283D18 #183B3D
split-complementary
#2D183D #3B3D18 #183D1B
monochromatic
#100916 #100916 #2D183D #4D2969 #6E3B95

Accessibility & contrast

On white

16.04
#2D183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D183D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D183D#FFFFFF#000000##FFFFFF
##2D183D1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d183d;
/* rgb */ color: rgb(45, 24, 61);
/* oklch */ color: oklch(25.7% 0.071 308.4);
Tailwind
colors: {
  custom: {
    50: '#675573',
    500: '#2d183d',
    950: '#000000',
  },
}
SCSS
$custom: #2d183d;
$custom-light: #675573;
$custom-dark: #000000;
JSON
{
  "hex": "#2d183d",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 274.054,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.07081,
    "h": 308.4
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#2D183D
secondary
#55733D
accent
#D3558B
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #2D183D

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

Preview Lab → · Contrast checker → · Palette generator →

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