#2D205A#2D205A

#2D205A is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.100 H 289.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#2D205A
RGBrgb(45, 32, 90)
HSLhsl(253, 48%, 24%)
HSVhsv(253, 64%, 35%)
CMYKcmyk(50%, 64.4%, 0%, 64.7%)
CIE-LABlab(17.13, 22.66, -32.94)
CIE-LCHlch(17.13, 39.98, 304.53°)
OKLaboklab(29.51% 0.0327 -0.0941)
OKLCHoklch(29.51% 0.1 289.1)
XYZxyz(3.4436, 2.3290, 9.9390)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D205A #4D5A20
analogous
#20305A #2D205A #4A205A
triadic
#2D205A #5A2D20 #205A2D
tetradic
#2D205A #5A2030 #4D5A20 #205A4A
square
#2D205A #5A2030 #4D5A20 #205A4A
split-complementary
#2D205A #5A4A20 #305A20
monochromatic
#0B0817 #16102D #2D205A #443087 #5A40B4

Accessibility & contrast

On white

14.33
#2D205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2D205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D205A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D205A#FFFFFF#000000##FFFFFF
##2D205A1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#1F2D39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d205a;
/* rgb */ color: rgb(45, 32, 90);
/* oklch */ color: oklch(29.5% 0.100 289.1);
Tailwind
colors: {
  custom: {
    50: '#6a5c89',
    500: '#2d205a',
    950: '#000000',
  },
}
SCSS
$custom: #2d205a;
$custom-light: #6a5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#2d205a",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 253.448,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2951,
    "c": 0.09959,
    "h": 289.1
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#2D205A
secondary
#7F8E47
accent
#D751B9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040B
muted
#7A797C

Preview Lab

Preview with #2D205A

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

Preview Lab → · Contrast checker → · Palette generator →

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