#2D2065#2D2065

#2D2065 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.116 H 286.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#2D2065
RGBrgb(45, 32, 101)
HSLhsl(251, 52%, 26%)
HSVhsv(251, 68%, 40%)
CMYKcmyk(55.4%, 68.3%, 0%, 60.4%)
CIE-LABlab(18.06, 26.36, -38.72)
CIE-LCHlch(18.06, 46.84, 304.24°)
OKLaboklab(30.48% 0.0318 -0.1111)
OKLCHoklch(30.48% 0.116 286)
XYZxyz(3.9470, 2.5303, 12.5898)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2065 #586520
analogous
#203565 #2D2065 #4F2065
triadic
#2D2065 #652D20 #20652D
tetradic
#2D2065 #652035 #586520 #20654F
square
#2D2065 #652035 #586520 #20654F
split-complementary
#2D2065 #654F20 #356520
monochromatic
#0A0717 #181137 #2D2065 #422F93 #573EC2

Accessibility & contrast

On white

13.94
#2D2065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2D2065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2065
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2065#FFFFFF#000000##FFFFFF
##2D20651.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#17313F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d2065;
/* rgb */ color: rgb(45, 32, 101);
/* oklch */ color: oklch(30.5% 0.116 286.0);
Tailwind
colors: {
  custom: {
    50: '#6c5c92',
    500: '#2d2065',
    950: '#000000',
  },
}
SCSS
$custom: #2d2065;
$custom-light: #6c5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2065",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 251.304,
    "s": 51.88,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.11554,
    "h": 286
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#2D2065
secondary
#8A9948
accent
#DB4CC0
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2D2065

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

Preview Lab → · Contrast checker → · Palette generator →

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