#2D1359#2D1359

#2D1359 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.117 H 294.2°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#2D1359
RGBrgb(45, 19, 89)
HSLhsl(262, 65%, 21%)
HSVhsv(262, 79%, 35%)
CMYKcmyk(49.4%, 78.7%, 0%, 65.1%)
CIE-LABlab(14.09, 30.37, -37.21)
CIE-LCHlch(14.09, 48.03, 309.22°)
OKLaboklab(27.29% 0.048 -0.1066)
OKLCHoklch(27.29% 0.117 294.2)
XYZxyz(3.1177, 1.7448, 9.6218)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1359 #3F5913
analogous
#131C59 #2D1359 #501359
triadic
#2D1359 #592D13 #13592D
tetradic
#2D1359 #59131C #3F5913 #135950
square
#2D1359 #59131C #3F5913 #135950
split-complementary
#2D1359 #595013 #1C5913
monochromatic
#0D0519 #130827 #2D1359 #461E8B #6029BE

Accessibility & contrast

On white

15.57
#2D1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1359
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1359#FFFFFF#000000##FFFFFF
##2D13591.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#202535
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d1359;
/* rgb */ color: rgb(45, 19, 89);
/* oklch */ color: oklch(27.3% 0.117 294.2);
Tailwind
colors: {
  custom: {
    50: '#6b5389',
    500: '#2d1359',
    950: '#000000',
  },
}
SCSS
$custom: #2d1359;
$custom-light: #6b5389;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1359",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 262.286,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27293,
    "c": 0.11691,
    "h": 294.2
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#2D1359
secondary
#709137
accent
#E840A9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2D1359

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

Preview Lab → · Contrast checker → · Palette generator →

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