#2D084B#2D084B

#2D084B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.6% C 0.113 H 303.8°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2D084B
RGBrgb(45, 8, 75)
HSLhsl(273, 81%, 16%)
HSVhsv(273, 89%, 29%)
CMYKcmyk(40%, 89.3%, 0%, 70.6%)
CIE-LABlab(10.85, 31.76, -32.93)
CIE-LCHlch(10.85, 45.75, 313.96°)
OKLaboklab(24.6% 0.0628 -0.094)
OKLCHoklch(24.6% 0.113 303.8)
XYZxyz(2.4387, 1.2396, 6.7660)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D084B #264B08
analogous
#0B084B #2D084B #4B0848
triadic
#2D084B #4B2D08 #084B2D
tetradic
#2D084B #4B0B08 #264B08 #08484B
square
#2D084B #4B0B08 #264B08 #08484B
split-complementary
#2D084B #484B08 #084B0B
monochromatic
#11031C #11031C #2D084B #4E0E82 #6F14BA

Accessibility & contrast

On white

16.83
#2D084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D084B
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D084B#FFFFFF#000000##FFFFFF
##2D084B1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#271A2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d084b;
/* rgb */ color: rgb(45, 8, 75);
/* oklch */ color: oklch(24.6% 0.113 303.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d7e',
    500: '#2d084b',
    950: '#000000',
  },
}
SCSS
$custom: #2d084b;
$custom-light: #6a4d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d084b",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 273.134,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24599,
    "c": 0.11303,
    "h": 303.8
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#2D084B
secondary
#528926
accent
#F7318A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2D084B

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

Preview Lab → · Contrast checker → · Palette generator →

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