#2D0FBF#2D0FBF

#2D0FBF is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.8% C 0.237 H 273.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2D0FBF
RGBrgb(45, 15, 191)
HSLhsl(250, 85%, 40%)
HSVhsv(250, 92%, 75%)
CMYKcmyk(76.4%, 92.1%, 0%, 25.1%)
CIE-LABlab(25.74, 61.15, -81.94)
CIE-LCHlch(25.74, 102.24, 306.74°)
OKLaboklab(38.8% 0.0142 -0.2367)
OKLCHoklch(38.8% 0.237 273.4)
XYZxyz(10.6539, 4.6600, 49.6181)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0FBF #A1BF0F
analogous
#0F49BF #2D0FBF #850FBF
triadic
#2D0FBF #BF2D0F #0FBF2D
tetradic
#2D0FBF #BF0F49 #A1BF0F #0FBF85
square
#2D0FBF #BF0F49 #A1BF0F #0FBF85
split-complementary
#2D0FBF #BF850F #49BF0F
monochromatic
#12064E #200B86 #2D0FBF #411EED #7157F2

Accessibility & contrast

On white

10.87
#2D0FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D0FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0FBF
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0FBF#FFFFFF#000000##FFFFFF
##2D0FBF1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044C3
Deuteranopia (green-blind)
#0035BC
Tritanopia (blue-blind)
#005070
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d0fbf;
/* rgb */ color: rgb(45, 15, 191);
/* oklch */ color: oklch(38.8% 0.237 273.4);
Tailwind
colors: {
  custom: {
    50: '#815ad4',
    500: '#2d0fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2d0fbf;
$custom-light: #815ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0fbf",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 191
  },
  "hsl": {
    "h": 250.227,
    "s": 85.437,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38797,
    "c": 0.23708,
    "h": 273.4
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#2D0FBF
secondary
#BFD455
accent
#FC2CD8
background
#F8F5FD
surface
#F0E9FA
border
#CBC5D3
text
#0D0414
muted
#7D7983

Preview Lab

Preview with #2D0FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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