#2D0F3B#2D0F3B

#2D0F3B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.085 H 313.2°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2D0F3B
RGBrgb(45, 15, 59)
HSLhsl(281, 59%, 15%)
HSVhsv(281, 75%, 23%)
CMYKcmyk(23.7%, 74.6%, 0%, 76.9%)
CIE-LABlab(10.67, 24.05, -21.93)
CIE-LCHlch(10.67, 32.55, 317.63°)
OKLaboklab(24.04% 0.058 -0.0617)
OKLCHoklch(24.04% 0.085 313.2)
XYZxyz(2.0423, 1.2154, 4.2638)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F3B #1D3B0F
analogous
#170F3B #2D0F3B #3B0F33
triadic
#2D0F3B #3B2D0F #0F3B2D
tetradic
#2D0F3B #3B170F #1D3B0F #0F333B
square
#2D0F3B #3B170F #1D3B0F #0F333B
split-complementary
#2D0F3B #333B0F #0F3B17
monochromatic
#130618 #130618 #2D0F3B #521B6C #77289D

Accessibility & contrast

On white

16.89
#2D0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F3B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F3B#FFFFFF#000000##FFFFFF
##2D0F3B1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#0C1E3A
Tritanopia (blue-blind)
#2C1723
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f3b;
/* rgb */ color: rgb(45, 15, 59);
/* oklch */ color: oklch(24.0% 0.085 313.2);
Tailwind
colors: {
  custom: {
    50: '#685071',
    500: '#2d0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f3b;
$custom-light: #685071;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f3b",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 280.909,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24035,
    "c": 0.0847,
    "h": 313.2
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#2D0F3B
secondary
#467530
accent
#E34577
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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