#2D0C45#2D0C45

#2D0C45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.101 H 306.6°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2D0C45
RGBrgb(45, 12, 69)
HSLhsl(275, 70%, 16%)
HSVhsv(275, 83%, 27%)
CMYKcmyk(34.8%, 82.6%, 0%, 72.9%)
CIE-LABlab(10.92, 28.31, -28.61)
CIE-LCHlch(10.92, 40.25, 314.69°)
OKLaboklab(24.48% 0.0605 -0.0813)
OKLCHoklch(24.48% 0.101 306.6)
XYZxyz(2.2876, 1.2505, 5.7499)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C45 #24450C
analogous
#100C45 #2D0C45 #450C40
triadic
#2D0C45 #452D0C #0C452D
tetradic
#2D0C45 #45100C #24450C #0C4045
square
#2D0C45 #45100C #24450C #0C4045
split-complementary
#2D0C45 #40450C #0C4510
monochromatic
#11051A #11051A #2D0C45 #4F1579 #711EAD

Accessibility & contrast

On white

16.80
#2D0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C45
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C45#FFFFFF#000000##FFFFFF
##2D0C451.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#291A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0c45;
/* rgb */ color: rgb(45, 12, 69);
/* oklch */ color: oklch(24.5% 0.101 306.6);
Tailwind
colors: {
  custom: {
    50: '#694e79',
    500: '#2d0c45',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c45;
$custom-light: #694e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c45",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 274.737,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24478,
    "c": 0.10132,
    "h": 306.6
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#2D0C45
secondary
#50812C
accent
#ED3B86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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