#2D0E55#2D0E55

#2D0E55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.118 H 297.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2D0E55
RGBrgb(45, 14, 85)
HSLhsl(266, 72%, 19%)
HSVhsv(266, 84%, 33%)
CMYKcmyk(47.1%, 83.5%, 0%, 66.7%)
CIE-LABlab(12.78, 31.78, -36.63)
CIE-LCHlch(12.78, 48.50, 310.95°)
OKLaboklab(26.26% 0.054 -0.1049)
OKLCHoklch(26.26% 0.118 297.2)
XYZxyz(2.8785, 1.5278, 8.7358)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E55 #36550E
analogous
#0E1355 #2D0E55 #510E55
triadic
#2D0E55 #552D0E #0E552D
tetradic
#2D0E55 #550E13 #36550E #0E5551
square
#2D0E55 #550E13 #36550E #0E5551
split-complementary
#2D0E55 #55510E #13550E
monochromatic
#0E041A #110520 #2D0E55 #49178A #651FBE

Accessibility & contrast

On white

16.08
#2D0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E55
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E55#FFFFFF#000000##FFFFFF
##2D0E551.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#222131
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d0e55;
/* rgb */ color: rgb(45, 14, 85);
/* oklch */ color: oklch(26.3% 0.118 297.2);
Tailwind
colors: {
  custom: {
    50: '#6b5086',
    500: '#2d0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e55;
$custom-light: #6b5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e55",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 266.197,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26255,
    "c": 0.11798,
    "h": 297.2
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#2D0E55
secondary
#658F30
accent
#EE399F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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