#2D153C#2D153C

#2D153C is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.075 H 310.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#2D153C
RGBrgb(45, 21, 60)
HSLhsl(277, 48%, 16%)
HSVhsv(277, 65%, 24%)
CMYKcmyk(25%, 65%, 0%, 76.5%)
CIE-LABlab(12.09, 20.66, -20.37)
CIE-LCHlch(12.09, 29.01, 315.40°)
OKLaboklab(25.09% 0.0489 -0.0572)
OKLCHoklch(25.09% 0.075 310.5)
XYZxyz(2.1658, 1.4205, 4.4342)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D153C #243C15
analogous
#19153C #2D153C #3C1537
triadic
#2D153C #3C2D15 #153C2D
tetradic
#2D153C #3C1915 #243C15 #15373C
square
#2D153C #3C1915 #243C15 #15373C
split-complementary
#2D153C #373C15 #153C19
monochromatic
#110817 #110817 #2D153C #4F2569 #713597

Accessibility & contrast

On white

16.36
#2D153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D153C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D153C#FFFFFF#000000##FFFFFF
##2D153C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#2B1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d153c;
/* rgb */ color: rgb(45, 21, 60);
/* oklch */ color: oklch(25.1% 0.075 310.5);
Tailwind
colors: {
  custom: {
    50: '#675372',
    500: '#2d153c',
    950: '#000000',
  },
}
SCSS
$custom: #2d153c;
$custom-light: #675372;
$custom-dark: #000000;
JSON
{
  "hex": "#2d153c",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 276.923,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25093,
    "c": 0.07521,
    "h": 310.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#2D153C
secondary
#507439
accent
#D85084
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D153C

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

Preview Lab → · Contrast checker → · Palette generator →

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