#2D0E45#2D0E45

#2D0E45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.099 H 306.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2D0E45
RGBrgb(45, 14, 69)
HSLhsl(274, 66%, 16%)
HSVhsv(274, 80%, 27%)
CMYKcmyk(34.8%, 79.7%, 0%, 72.9%)
CIE-LABlab(11.29, 27.28, -28.03)
CIE-LCHlch(11.29, 39.11, 314.23°)
OKLaboklab(24.74% 0.0581 -0.0796)
OKLCHoklch(24.74% 0.099 306.1)
XYZxyz(2.3132, 1.3017, 5.7585)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E45 #26450E
analogous
#120E45 #2D0E45 #450E42
triadic
#2D0E45 #452D0E #0E452D
tetradic
#2D0E45 #45120E #26450E #0E4245
square
#2D0E45 #45120E #26450E #0E4245
split-complementary
#2D0E45 #42450E #0E4512
monochromatic
#110519 #110519 #2D0E45 #4E1878 #6F23AB

Accessibility & contrast

On white

16.66
#2D0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D0E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E45
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E45#FFFFFF#000000##FFFFFF
##2D0E451.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#291B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0e45;
/* rgb */ color: rgb(45, 14, 69);
/* oklch */ color: oklch(24.7% 0.099 306.1);
Tailwind
colors: {
  custom: {
    50: '#694f79',
    500: '#2d0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e45;
$custom-light: #694f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e45",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 273.818,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.09856,
    "h": 306.1
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#2D0E45
secondary
#52802F
accent
#E93F89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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