#2D0F55#2D0F55

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

Color values

HEX#2D0F55
RGBrgb(45, 15, 85)
HSLhsl(266, 70%, 20%)
HSVhsv(266, 82%, 33%)
CMYKcmyk(47.1%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.96, 31.29, -36.35)
CIE-LCHlch(12.96, 47.96, 310.72°)
OKLaboklab(26.38% 0.0531 -0.1041)
OKLCHoklch(26.38% 0.117 297)
XYZxyz(2.8923, 1.5554, 8.7404)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F55 #37550F
analogous
#0F1455 #2D0F55 #500F55
triadic
#2D0F55 #552D0F #0F552D
tetradic
#2D0F55 #550F14 #37550F #0F5550
square
#2D0F55 #550F14 #37550F #0F5550
split-complementary
#2D0F55 #55500F #14550F
monochromatic
#0E051A #110621 #2D0F55 #491889 #6421BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0F55#FFFFFF#000000##FFFFFF
##2D0F551.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)
#002257
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#222231
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d0f55;
/* rgb */ color: rgb(45, 15, 85);
/* oklch */ color: oklch(26.4% 0.117 297.0);
Tailwind
colors: {
  custom: {
    50: '#6b5186',
    500: '#2d0f55',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f55;
$custom-light: #6b5186;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f55",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 265.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26376,
    "c": 0.11682,
    "h": 297
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#2D0F55
secondary
#678F31
accent
#ED3BA1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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