#2D0F45#2D0F45

#2D0F45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.097 H 305.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2D0F45
RGBrgb(45, 15, 69)
HSLhsl(273, 64%, 16%)
HSVhsv(273, 78%, 27%)
CMYKcmyk(34.8%, 78.3%, 0%, 72.9%)
CIE-LABlab(11.48, 26.74, -27.72)
CIE-LCHlch(11.48, 38.52, 313.98°)
OKLaboklab(24.87% 0.0569 -0.0787)
OKLCHoklch(24.87% 0.097 305.9)
XYZxyz(2.3270, 1.3292, 5.7630)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F45 #27450F
analogous
#120F45 #2D0F45 #450F42
triadic
#2D0F45 #452D0F #0F452D
tetradic
#2D0F45 #45120F #27450F #0F4245
square
#2D0F45 #45120F #27450F #0F4245
split-complementary
#2D0F45 #42450F #0F4512
monochromatic
#100519 #100519 #2D0F45 #4E1A77 #6F25AA

Accessibility & contrast

On white

16.59
#2D0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F45
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F45#FFFFFF#000000##FFFFFF
##2D0F451.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#291B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0f45;
/* rgb */ color: rgb(45, 15, 69);
/* oklch */ color: oklch(24.9% 0.097 305.9);
Tailwind
colors: {
  custom: {
    50: '#695079',
    500: '#2d0f45',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f45;
$custom-light: #695079;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f45",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 273.333,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24871,
    "c": 0.0971,
    "h": 305.9
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#2D0F45
secondary
#547F30
accent
#E7418B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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