#2D1059#2D1059

#2D1059 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.121 H 295.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#2D1059
RGBrgb(45, 16, 89)
HSLhsl(264, 70%, 21%)
HSVhsv(264, 82%, 35%)
CMYKcmyk(49.4%, 82%, 0%, 65.1%)
CIE-LABlab(13.53, 31.95, -38.12)
CIE-LCHlch(13.53, 49.74, 309.97°)
OKLaboklab(26.9% 0.0509 -0.1093)
OKLCHoklch(26.9% 0.121 295)
XYZxyz(3.0702, 1.6497, 9.6059)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1059 #3C5910
analogous
#101759 #2D1059 #511059
triadic
#2D1059 #592D10 #10592D
tetradic
#2D1059 #591017 #3C5910 #105951
square
#2D1059 #591017 #3C5910 #105951
split-complementary
#2D1059 #595110 #175910
monochromatic
#0D051A #130725 #2D1059 #47198D #6123C1

Accessibility & contrast

On white

15.79
#2D1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2D1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1059
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1059#FFFFFF#000000##FFFFFF
##2D10591.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#202434
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d1059;
/* rgb */ color: rgb(45, 16, 89);
/* oklch */ color: oklch(26.9% 0.121 295.0);
Tailwind
colors: {
  custom: {
    50: '#6b5289',
    500: '#2d1059',
    950: '#000000',
  },
}
SCSS
$custom: #2d1059;
$custom-light: #6b5289;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1059",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 263.836,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.269,
    "c": 0.12054,
    "h": 295
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#2D1059
secondary
#6C9233
accent
#EC3BA6
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D1059

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

Preview Lab → · Contrast checker → · Palette generator →

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