#2D1060#2D1060

#2D1060 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.129 H 292.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#2D1060
RGBrgb(45, 16, 96)
HSLhsl(262, 71%, 22%)
HSVhsv(262, 83%, 38%)
CMYKcmyk(53.1%, 83.3%, 0%, 62.4%)
CIE-LABlab(14.25, 34.02, -41.64)
CIE-LCHlch(14.25, 53.77, 309.25°)
OKLaboklab(27.62% 0.0486 -0.1196)
OKLCHoklch(27.62% 0.129 292.1)
XYZxyz(3.3782, 1.7729, 11.2283)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1060 #436010
analogous
#101B60 #2D1060 #551060
triadic
#2D1060 #602D10 #10602D
tetradic
#2D1060 #60101B #436010 #106055
square
#2D1060 #60101B #436010 #106055
split-complementary
#2D1060 #605510 #1B6010
monochromatic
#0C041A #14072C #2D1060 #461994 #5E21C9

Accessibility & contrast

On white

15.50
#2D1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2D1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1060
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1060#FFFFFF#000000##FFFFFF
##2D10601.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#1C2738
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d1060;
/* rgb */ color: rgb(45, 16, 96);
/* oklch */ color: oklch(27.6% 0.129 292.1);
Tailwind
colors: {
  custom: {
    50: '#6d528e',
    500: '#2d1060',
    950: '#000000',
  },
}
SCSS
$custom: #2d1060;
$custom-light: #6d528e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1060",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 261.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27621,
    "c": 0.12909,
    "h": 292.1
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#2D1060
secondary
#749933
accent
#EE3AAD
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2D1060

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

Preview Lab → · Contrast checker → · Palette generator →

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