#2A1465#2A1465

#2A1465 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.131 H 287.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#2A1465
RGBrgb(42, 20, 101)
HSLhsl(256, 67%, 24%)
HSVhsv(256, 80%, 40%)
CMYKcmyk(58.4%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.13, 33.02, -43.53)
CIE-LCHlch(15.13, 54.64, 307.19°)
OKLaboklab(28.31% 0.0387 -0.1252)
OKLCHoklch(28.31% 0.131 287.2)
XYZxyz(3.5533, 1.9319, 12.4951)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1465 #4F6514
analogous
#142665 #2A1465 #521465
triadic
#2A1465 #652A14 #14652A
tetradic
#2A1465 #651426 #4F6514 #146552
square
#2A1465 #651426 #4F6514 #146552
split-complementary
#2A1465 #655214 #266514
monochromatic
#0B051A #150A32 #2A1465 #3F1E98 #5428CB

Accessibility & contrast

On white

15.15
#2A1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2A1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1465
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1465#FFFFFF#000000##FFFFFF
##2A14651.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#102B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a1465;
/* rgb */ color: rgb(42, 20, 101);
/* oklch */ color: oklch(28.3% 0.131 287.2);
Tailwind
colors: {
  custom: {
    50: '#6b5492',
    500: '#2a1465',
    950: '#000000',
  },
}
SCSS
$custom: #2a1465;
$custom-light: #6b5492;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1465",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 256.296,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2831,
    "c": 0.13108,
    "h": 287.2
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#2A1465
secondary
#819C39
accent
#EA3EBB
background
#F6F5F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2A1465

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

Preview Lab → · Contrast checker → · Palette generator →

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