#2D063D#2D063D

#2D063D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.100 H 313.6°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2D063D
RGBrgb(45, 6, 61)
HSLhsl(283, 82%, 13%)
HSVhsv(283, 90%, 24%)
CMYKcmyk(26.2%, 90.2%, 0%, 76.1%)
CIE-LABlab(9.20, 29.18, -25.74)
CIE-LCHlch(9.20, 38.91, 318.59°)
OKLaboklab(23.04% 0.0692 -0.0728)
OKLCHoklch(23.04% 0.1 313.6)
XYZxyz(1.9895, 1.0251, 4.5070)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D063D #163D06
analogous
#11063D #2D063D #3D0631
triadic
#2D063D #3D2D06 #063D2D
tetradic
#2D063D #3D1106 #163D06 #06313D
square
#2D063D #3D1106 #163D06 #06313D
split-complementary
#2D063D #313D06 #063D11
monochromatic
#15031C #15031C #2D063D #560B75 #7F11AC

Accessibility & contrast

On white

17.43
#2D063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D063D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D063D#FFFFFF#000000##FFFFFF
##2D063D1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#2B1321
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d063d;
/* rgb */ color: rgb(45, 6, 61);
/* oklch */ color: oklch(23.0% 0.100 313.6);
Tailwind
colors: {
  custom: {
    50: '#694b73',
    500: '#2d063d',
    950: '#000000',
  },
}
SCSS
$custom: #2d063d;
$custom-light: #694b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d063d",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 282.545,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2304,
    "c": 0.10047,
    "h": 313.6
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2D063D
secondary
#3C7D22
accent
#F82F6A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D063D

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

Preview Lab → · Contrast checker → · Palette generator →

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