#2D084A#2D084A

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

Color values

HEX#2D084A
RGBrgb(45, 8, 74)
HSLhsl(274, 80%, 16%)
HSVhsv(274, 89%, 29%)
CMYKcmyk(39.2%, 89.2%, 0%, 71%)
CIE-LABlab(10.75, 31.49, -32.40)
CIE-LCHlch(10.75, 45.18, 314.19°)
OKLaboklab(24.5% 0.0632 -0.0924)
OKLCHoklch(24.5% 0.112 304.4)
XYZxyz(2.4048, 1.2260, 6.5872)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D084A #254A08
analogous
#0C084A #2D084A #4A0846
triadic
#2D084A #4A2D08 #084A2D
tetradic
#2D084A #4A0C08 #254A08 #08464A
square
#2D084A #4A0C08 #254A08 #08464A
split-complementary
#2D084A #464A08 #084A0C
monochromatic
#11031C #11031C #2D084A #4F0E81 #7014B8

Accessibility & contrast

On white

16.86
#2D084A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D084A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D084A#FFFFFF#000000##FFFFFF
##2D084A1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#271A29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d084a;
/* rgb */ color: rgb(45, 8, 74);
/* oklch */ color: oklch(24.5% 0.112 304.4);
Tailwind
colors: {
  custom: {
    50: '#6a4d7d',
    500: '#2d084a',
    950: '#000000',
  },
}
SCSS
$custom: #2d084a;
$custom-light: #6a4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d084a",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 74
  },
  "hsl": {
    "h": 273.636,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.245,
    "c": 0.11192,
    "h": 304.4
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#2D084A
secondary
#518826
accent
#F73188
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2D084A

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

Preview Lab → · Contrast checker → · Palette generator →

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