#2D0C53#2D0C53

#2D0C53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.8% C 0.118 H 298.6°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#2D0C53
RGBrgb(45, 12, 83)
HSLhsl(268, 75%, 19%)
HSVhsv(268, 86%, 33%)
CMYKcmyk(45.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(12.26, 32.16, -36.13)
CIE-LCHlch(12.26, 48.37, 311.67°)
OKLaboklab(25.83% 0.0565 -0.1034)
OKLCHoklch(25.83% 0.118 298.6)
XYZxyz(2.7746, 1.4453, 8.3147)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C53 #32530C
analogous
#0C0E53 #2D0C53 #500C53
triadic
#2D0C53 #532D0C #0C532D
tetradic
#2D0C53 #530C0E #32530C #0C5350
square
#2D0C53 #530C0E #32530C #0C5350
split-complementary
#2D0C53 #53500C #0E530C
monochromatic
#0E041B #10041E #2D0C53 #4A1488 #671BBE

Accessibility & contrast

On white

16.29
#2D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2D0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C53
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C53#FFFFFF#000000##FFFFFF
##2D0C531.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#23202F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d0c53;
/* rgb */ color: rgb(45, 12, 83);
/* oklch */ color: oklch(25.8% 0.118 298.6);
Tailwind
colors: {
  custom: {
    50: '#6b4f84',
    500: '#2d0c53',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c53;
$custom-light: #6b4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c53",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 267.887,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25826,
    "c": 0.11782,
    "h": 298.6
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#2D0C53
secondary
#618E2D
accent
#F1369A
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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