#2D0E54#2D0E54

#2D0E54 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.117 H 297.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#2D0E54
RGBrgb(45, 14, 84)
HSLhsl(267, 71%, 19%)
HSVhsv(267, 83%, 33%)
CMYKcmyk(46.4%, 83.3%, 0%, 67.1%)
CIE-LABlab(12.68, 31.50, -36.12)
CIE-LCHlch(12.68, 47.92, 311.09°)
OKLaboklab(26.16% 0.0543 -0.1034)
OKLCHoklch(26.16% 0.117 297.7)
XYZxyz(2.8390, 1.5120, 8.5281)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E54 #35540E
analogous
#0E1254 #2D0E54 #500E54
triadic
#2D0E54 #542D0E #0E542D
tetradic
#2D0E54 #540E12 #35540E #0E5450
square
#2D0E54 #540E12 #35540E #0E5450
split-complementary
#2D0E54 #54500E #12540E
monochromatic
#0E041A #110520 #2D0E54 #491788 #651FBD

Accessibility & contrast

On white

16.12
#2D0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2D0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E54
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E54#FFFFFF#000000##FFFFFF
##2D0E541.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#232130
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d0e54;
/* rgb */ color: rgb(45, 14, 84);
/* oklch */ color: oklch(26.2% 0.117 297.7);
Tailwind
colors: {
  custom: {
    50: '#6b5085',
    500: '#2d0e54',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e54;
$custom-light: #6b5085;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e54",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 266.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26155,
    "c": 0.11677,
    "h": 297.7
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#2D0E54
secondary
#648E2F
accent
#EE3A9E
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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