#2D0A48#2D0A48

#2D0A48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.107 H 305.2°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2D0A48
RGBrgb(45, 10, 72)
HSLhsl(274, 76%, 16%)
HSVhsv(274, 86%, 28%)
CMYKcmyk(37.5%, 86.1%, 0%, 71.8%)
CIE-LABlab(10.87, 30.05, -30.80)
CIE-LCHlch(10.87, 43.03, 314.29°)
OKLaboklab(24.53% 0.0618 -0.0877)
OKLCHoklch(24.53% 0.107 305.2)
XYZxyz(2.3602, 1.2429, 6.2452)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A48 #25480A
analogous
#0E0A48 #2D0A48 #480A44
triadic
#2D0A48 #482D0A #0A482D
tetradic
#2D0A48 #480E0A #25480A #0A4448
square
#2D0A48 #480E0A #25480A #0A4448
split-complementary
#2D0A48 #44480A #0A480E
monochromatic
#11041B #11041B #2D0A48 #4F117E #7019B3

Accessibility & contrast

On white

16.82
#2D0A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D0A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A48
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A48#FFFFFF#000000##FFFFFF
##2D0A481.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#281A29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0a48;
/* rgb */ color: rgb(45, 10, 72);
/* oklch */ color: oklch(24.5% 0.107 305.2);
Tailwind
colors: {
  custom: {
    50: '#694e7b',
    500: '#2d0a48',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a48;
$custom-light: #694e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a48",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 273.871,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24526,
    "c": 0.10731,
    "h": 305.2
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#2D0A48
secondary
#518529
accent
#F23688
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0A48

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

Preview Lab → · Contrast checker → · Palette generator →

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