#2D0F53#2D0F53

#2D0F53 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.114 H 298.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#2D0F53
RGBrgb(45, 15, 83)
HSLhsl(266, 69%, 19%)
HSVhsv(266, 82%, 33%)
CMYKcmyk(45.8%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.76, 30.71, -35.31)
CIE-LCHlch(12.76, 46.80, 311.02°)
OKLaboklab(26.18% 0.0536 -0.101)
OKLCHoklch(26.18% 0.114 298)
XYZxyz(2.8139, 1.5240, 8.3278)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F53 #35530F
analogous
#0F1353 #2D0F53 #4F0F53
triadic
#2D0F53 #532D0F #0F532D
tetradic
#2D0F53 #530F13 #35530F #0F534F
square
#2D0F53 #530F13 #35530F #0F534F
split-complementary
#2D0F53 #534F0F #13530F
monochromatic
#0E051A #11061F #2D0F53 #491887 #6522BB

Accessibility & contrast

On white

16.09
#2D0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2D0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F53
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F53#FFFFFF#000000##FFFFFF
##2D0F531.0016.091.3016.09
#FFFFFF16.091.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0f53;
/* rgb */ color: rgb(45, 15, 83);
/* oklch */ color: oklch(26.2% 0.114 298.0);
Tailwind
colors: {
  custom: {
    50: '#6b5184',
    500: '#2d0f53',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f53;
$custom-light: #6b5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f53",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 266.471,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26178,
    "c": 0.11437,
    "h": 298
  },
  "luminance": 0.01524
}

Semantic roles & 50–950 ramp

primary
#2D0F53
secondary
#648D31
accent
#EC3C9E
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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