#2D0A3F#2D0A3F

#2D0A3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.097 H 311.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2D0A3F
RGBrgb(45, 10, 63)
HSLhsl(280, 73%, 14%)
HSVhsv(280, 84%, 25%)
CMYKcmyk(28.6%, 84.1%, 0%, 75.3%)
CIE-LABlab(10.06, 27.70, -25.77)
CIE-LCHlch(10.06, 37.83, 317.07°)
OKLaboklab(23.7% 0.064 -0.0729)
OKLCHoklch(23.7% 0.097 311.3)
XYZxyz(2.0878, 1.1339, 4.8105)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A3F #1C3F0A
analogous
#130A3F #2D0A3F #3F0A37
triadic
#2D0A3F #3F2D0A #0A3F2D
tetradic
#2D0A3F #3F130A #1C3F0A #0A373F
square
#2D0A3F #3F130A #1C3F0A #0A373F
split-complementary
#2D0A3F #373F0A #0A3F13
monochromatic
#13041A #13041A #2D0A3F #531274 #781BA9

Accessibility & contrast

On white

17.12
#2D0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A3F
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A3F#FFFFFF#000000##FFFFFF
##2D0A3F1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#031C3E
Tritanopia (blue-blind)
#2B1624
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0a3f;
/* rgb */ color: rgb(45, 10, 63);
/* oklch */ color: oklch(23.7% 0.097 311.3);
Tailwind
colors: {
  custom: {
    50: '#694d74',
    500: '#2d0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a3f;
$custom-light: #694d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a3f",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 279.623,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23702,
    "c": 0.09702,
    "h": 311.3
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#2D0A3F
secondary
#457C29
accent
#EF3877
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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