#3E306D#3E306D

#3E306D is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.8% C 0.102 H 290.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#3E306D
RGBrgb(62, 48, 109)
HSLhsl(254, 39%, 31%)
HSVhsv(254, 56%, 43%)
CMYKcmyk(43.1%, 56%, 0%, 57.3%)
CIE-LABlab(24.46, 22.51, -33.49)
CIE-LCHlch(24.46, 40.35, 303.90°)
OKLaboklab(35.8% 0.0364 -0.0951)
OKLCHoklch(35.8% 0.102 290.9)
XYZxyz(5.8031, 4.2420, 14.9781)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E306D #5F6D30
analogous
#30406D #3E306D #5C306D
triadic
#3E306D #6D3E30 #306D3E
tetradic
#3E306D #6D3040 #5F6D30 #306D5C
square
#3E306D #6D3040 #5F6D30 #306D5C
split-complementary
#3E306D #6D5C30 #406D30
monochromatic
#0E0B18 #261D43 #3E306D #564397 #735FB8

Accessibility & contrast

On white

11.36
#3E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3E306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E306D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E306D#FFFFFF#000000##FFFFFF
##3E306D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6F
Deuteranopia (green-blind)
#16396C
Tritanopia (blue-blind)
#313D49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e306d;
/* rgb */ color: rgb(62, 48, 109);
/* oklch */ color: oklch(35.8% 0.102 290.9);
Tailwind
colors: {
  custom: {
    50: '#776897',
    500: '#3e306d',
    950: '#000000',
  },
}
SCSS
$custom: #3e306d;
$custom-light: #776897;
$custom-dark: #000000;
JSON
{
  "hex": "#3e306d",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 253.77,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35801,
    "c": 0.1018,
    "h": 290.9
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#3E306D
secondary
#8F9E5B
accent
#CF59B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #3E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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