#2A0D56#2A0D56

#2A0D56 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.120 H 294.3°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#2A0D56
RGBrgb(42, 13, 86)
HSLhsl(264, 74%, 19%)
HSVhsv(264, 85%, 34%)
CMYKcmyk(51.2%, 84.9%, 0%, 66.3%)
CIE-LABlab(12.30, 32.04, -38.12)
CIE-LCHlch(12.30, 49.80, 310.04°)
OKLaboklab(25.86% 0.0494 -0.1094)
OKLCHoklch(25.86% 0.12 294.3)
XYZxyz(2.7780, 1.4519, 8.9362)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D56 #39560D
analogous
#0D1456 #2A0D56 #4F0D56
triadic
#2A0D56 #562A0D #0D562A
tetradic
#2A0D56 #560D14 #39560D #0D564F
square
#2A0D56 #560D14 #39560D #0D564F
split-complementary
#2A0D56 #564F0D #14560D
monochromatic
#0D041B #100521 #2A0D56 #44158B #5E1DC0

Accessibility & contrast

On white

16.27
#2A0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D56
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D56#FFFFFF#000000##FFFFFF
##2A0D561.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#1D2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a0d56;
/* rgb */ color: rgb(42, 13, 86);
/* oklch */ color: oklch(25.9% 0.120 294.3);
Tailwind
colors: {
  custom: {
    50: '#695086',
    500: '#2a0d56',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d56;
$custom-light: #695086;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d56",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 263.836,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25855,
    "c": 0.12002,
    "h": 294.3
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#2A0D56
secondary
#6A912E
accent
#F037A7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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