#2D1053#2D1053

#2D1053 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.113 H 297.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#2D1053
RGBrgb(45, 16, 83)
HSLhsl(266, 68%, 19%)
HSVhsv(266, 81%, 33%)
CMYKcmyk(45.8%, 80.7%, 0%, 67.5%)
CIE-LABlab(12.94, 30.20, -35.01)
CIE-LCHlch(12.94, 46.24, 310.77°)
OKLaboklab(26.31% 0.0526 -0.1001)
OKLCHoklch(26.31% 0.113 297.7)
XYZxyz(2.8284, 1.5530, 8.3327)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1053 #365310
analogous
#101553 #2D1053 #4F1053
triadic
#2D1053 #532D10 #10532D
tetradic
#2D1053 #531015 #365310 #10534F
square
#2D1053 #531015 #365310 #10534F
split-complementary
#2D1053 #534F10 #155310
monochromatic
#0E051A #110620 #2D1053 #491A86 #6524BA

Accessibility & contrast

On white

16.02
#2D1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2D1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1053
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1053#FFFFFF#000000##FFFFFF
##2D10531.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#232130
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d1053;
/* rgb */ color: rgb(45, 16, 83);
/* oklch */ color: oklch(26.3% 0.113 297.7);
Tailwind
colors: {
  custom: {
    50: '#6a5184',
    500: '#2d1053',
    950: '#000000',
  },
}
SCSS
$custom: #2d1053;
$custom-light: #6a5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1053",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 265.97,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26305,
    "c": 0.11314,
    "h": 297.7
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#2D1053
secondary
#658D32
accent
#EB3DA0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D1053

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

Preview Lab → · Contrast checker → · Palette generator →

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