#2D0F47#2D0F47

#2D0F47 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.100 H 304.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2D0F47
RGBrgb(45, 15, 71)
HSLhsl(272, 65%, 17%)
HSVhsv(272, 79%, 28%)
CMYKcmyk(36.6%, 78.9%, 0%, 72.2%)
CIE-LABlab(11.65, 27.30, -28.83)
CIE-LCHlch(11.65, 39.71, 313.43°)
OKLaboklab(25.05% 0.0565 -0.082)
OKLCHoklch(25.05% 0.1 304.6)
XYZxyz(2.3901, 1.3545, 6.0955)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F47 #29470F
analogous
#110F47 #2D0F47 #470F45
triadic
#2D0F47 #472D0F #0F472D
tetradic
#2D0F47 #47110F #29470F #0F4547
square
#2D0F47 #47110F #29470F #0F4547
split-complementary
#2D0F47 #45470F #0F4711
monochromatic
#100519 #100519 #2D0F47 #4D1A7A #6D24AC

Accessibility & contrast

On white

16.53
#2D0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F47
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F47#FFFFFF#000000##FFFFFF
##2D0F471.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#281C29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0f47;
/* rgb */ color: rgb(45, 15, 71);
/* oklch */ color: oklch(25.0% 0.100 304.6);
Tailwind
colors: {
  custom: {
    50: '#69507b',
    500: '#2d0f47',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f47;
$custom-light: #69507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f47",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 272.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25049,
    "c": 0.09958,
    "h": 304.6
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#2D0F47
secondary
#568130
accent
#E8408E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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