#2D0A46#2D0A46

#2D0A46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.105 H 306.4°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2D0A46
RGBrgb(45, 10, 70)
HSLhsl(275, 75%, 16%)
HSVhsv(275, 86%, 27%)
CMYKcmyk(35.7%, 85.7%, 0%, 72.5%)
CIE-LABlab(10.68, 29.52, -29.71)
CIE-LCHlch(10.68, 41.88, 314.82°)
OKLaboklab(24.34% 0.0624 -0.0845)
OKLCHoklch(24.34% 0.105 306.4)
XYZxyz(2.2960, 1.2172, 5.9072)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A46 #23460A
analogous
#0F0A46 #2D0A46 #460A41
triadic
#2D0A46 #462D0A #0A462D
tetradic
#2D0A46 #460F0A #23460A #0A4146
square
#2D0A46 #460F0A #23460A #0A4146
split-complementary
#2D0A46 #41460A #0A460F
monochromatic
#11041B #11041B #2D0A46 #4F127C #7219B1

Accessibility & contrast

On white

16.89
#2D0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A46
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A46#FFFFFF#000000##FFFFFF
##2D0A461.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#291928
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0a46;
/* rgb */ color: rgb(45, 10, 70);
/* oklch */ color: oklch(24.3% 0.105 306.4);
Tailwind
colors: {
  custom: {
    50: '#694d7a',
    500: '#2d0a46',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a46;
$custom-light: #694d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a46",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 275,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24337,
    "c": 0.10503,
    "h": 306.4
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#2D0A46
secondary
#4E8329
accent
#F23684
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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