#3D23B4#3D23B4

#3D23B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.209 H 279.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3D23B4
RGBrgb(61, 35, 180)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(66.1%, 80.6%, 0%, 29.4%)
CIE-LABlab(28.08, 51.87, -71.48)
CIE-LCHlch(28.08, 88.32, 305.97°)
OKLaboklab(40.33% 0.0349 -0.2064)
OKLCHoklch(40.33% 0.209 279.6)
XYZxyz(10.7611, 5.4886, 43.6635)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D23B4 #9AB423
analogous
#2351B4 #3D23B4 #8623B4
triadic
#3D23B4 #B43D23 #23B43D
tetradic
#3D23B4 #B42351 #9AB423 #23B486
square
#3D23B4 #B42351 #9AB423 #23B486
split-complementary
#3D23B4 #B48623 #51B423
monochromatic
#1A0F4E #2C1981 #3D23B4 #583BD9 #836EE3

Accessibility & contrast

On white

10.01
#3D23B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D23B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D23B4
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D23B4#FFFFFF#000000##FFFFFF
##3D23B41.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d23b4;
/* rgb */ color: rgb(61, 35, 180);
/* oklch */ color: oklch(40.3% 0.209 279.6);
Tailwind
colors: {
  custom: {
    50: '#8363cc',
    500: '#3d23b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d23b4;
$custom-light: #8363cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d23b4",
  "rgb": {
    "r": 61,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 250.759,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.20931,
    "h": 279.6
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#3D23B4
secondary
#B8C969
accent
#EA3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D23B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3D23B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva