#2D0F48#2D0F48

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

Color values

HEX#2D0F48
RGBrgb(45, 15, 72)
HSLhsl(272, 66%, 17%)
HSVhsv(272, 79%, 28%)
CMYKcmyk(37.5%, 79.2%, 0%, 71.8%)
CIE-LABlab(11.74, 27.58, -29.39)
CIE-LCHlch(11.74, 40.30, 313.18°)
OKLaboklab(25.14% 0.0563 -0.0836)
OKLCHoklch(25.14% 0.101 304)
XYZxyz(2.4224, 1.3674, 6.2660)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F48 #2A480F
analogous
#110F48 #2D0F48 #480F47
triadic
#2D0F48 #482D0F #0F482D
tetradic
#2D0F48 #48110F #2A480F #0F4748
square
#2D0F48 #48110F #2A480F #0F4748
split-complementary
#2D0F48 #47480F #0F4811
monochromatic
#100519 #100519 #2D0F48 #4D1A7B #6C24AD

Accessibility & contrast

On white

16.49
#2D0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F48
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F48#FFFFFF#000000##FFFFFF
##2D0F481.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#281D2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0f48;
/* rgb */ color: rgb(45, 15, 72);
/* oklch */ color: oklch(25.1% 0.101 304.0);
Tailwind
colors: {
  custom: {
    50: '#69507b',
    500: '#2d0f48',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f48;
$custom-light: #69507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f48",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 271.579,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25139,
    "c": 0.10082,
    "h": 304
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#2D0F48
secondary
#578230
accent
#E83F8F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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