#2D1065#2D1065

#2D1065 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.135 H 290.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#2D1065
RGBrgb(45, 16, 101)
HSLhsl(260, 73%, 23%)
HSVhsv(260, 84%, 40%)
CMYKcmyk(55.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.78, 35.50, -44.08)
CIE-LCHlch(14.78, 56.60, 308.84°)
OKLaboklab(28.15% 0.0469 -0.1267)
OKLCHoklch(28.15% 0.135 290.3)
XYZxyz(3.6158, 1.8679, 12.4794)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1065 #486510
analogous
#101D65 #2D1065 #581065
triadic
#2D1065 #652D10 #10652D
tetradic
#2D1065 #65101D #486510 #106558
square
#2D1065 #65101D #486510 #106558
split-complementary
#2D1065 #655810 #1D6510
monochromatic
#0C041A #150830 #2D1065 #45189A #5C21CF

Accessibility & contrast

On white

15.29
#2D1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2D1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1065
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1065#FFFFFF#000000##FFFFFF
##2D10651.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#18293B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2d1065;
/* rgb */ color: rgb(45, 16, 101);
/* oklch */ color: oklch(28.2% 0.135 290.3);
Tailwind
colors: {
  custom: {
    50: '#6d5392',
    500: '#2d1065',
    950: '#000000',
  },
}
SCSS
$custom: #2d1065;
$custom-light: #6d5392;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1065",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 260.471,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.13514,
    "h": 290.3
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#2D1065
secondary
#799D33
accent
#EF38B1
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2D1065

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

Preview Lab → · Contrast checker → · Palette generator →

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