#2D0F3A#2D0F3A

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

Color values

HEX#2D0F3A
RGBrgb(45, 15, 58)
HSLhsl(282, 59%, 14%)
HSVhsv(282, 74%, 23%)
CMYKcmyk(22.4%, 74.1%, 0%, 77.3%)
CIE-LABlab(10.59, 23.79, -21.34)
CIE-LCHlch(10.59, 31.95, 318.11°)
OKLaboklab(23.96% 0.0581 -0.06)
OKLCHoklch(23.96% 0.083 314.1)
XYZxyz(2.0166, 1.2051, 4.1285)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F3A #1C3A0F
analogous
#180F3A #2D0F3A #3A0F32
triadic
#2D0F3A #3A2D0F #0F3A2D
tetradic
#2D0F3A #3A180F #1C3A0F #0F323A
square
#2D0F3A #3A180F #1C3A0F #0F323A
split-complementary
#2D0F3A #323A0F #0F3A18
monochromatic
#130618 #130618 #2D0F3A #531C6B #78289B

Accessibility & contrast

On white

16.92
#2D0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F3A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F3A#FFFFFF#000000##FFFFFF
##2D0F3A1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#0D1D39
Tritanopia (blue-blind)
#2C1722
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f3a;
/* rgb */ color: rgb(45, 15, 58);
/* oklch */ color: oklch(24.0% 0.083 314.1);
Tailwind
colors: {
  custom: {
    50: '#685070',
    500: '#2d0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f3a;
$custom-light: #685070;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f3a",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 281.86,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23956,
    "c": 0.08347,
    "h": 314.1
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#2D0F3A
secondary
#457430
accent
#E24675
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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