#301659#301659

#301659 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.113 H 296.0°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#301659
RGBrgb(48, 22, 89)
HSLhsl(263, 60%, 22%)
HSVhsv(263, 75%, 35%)
CMYKcmyk(46.1%, 75.3%, 0%, 65.1%)
CIE-LABlab(15.08, 29.29, -35.57)
CIE-LCHlch(15.08, 46.08, 309.47°)
OKLaboklab(28.09% 0.0497 -0.1017)
OKLCHoklch(28.09% 0.113 296)
XYZxyz(3.3085, 1.9234, 9.6462)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301659 #3F5916
analogous
#161E59 #301659 #521659
triadic
#301659 #593016 #165930
tetradic
#301659 #59161E #3F5916 #165952
square
#301659 #59161E #3F5916 #165952
split-complementary
#301659 #595216 #1E5916
monochromatic
#0D0619 #160A28 #301659 #4A228A #652EBB

Accessibility & contrast

On white

15.17
#301659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#301659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301659
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301659#FFFFFF#000000##FFFFFF
##3016591.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#252735
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #301659;
/* rgb */ color: rgb(48, 22, 89);
/* oklch */ color: oklch(28.1% 0.113 296.0);
Tailwind
colors: {
  custom: {
    50: '#6d5588',
    500: '#301659',
    950: '#000000',
  },
}
SCSS
$custom: #301659;
$custom-light: #6d5588;
$custom-dark: #000000;
JSON
{
  "hex": "#301659",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 263.284,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28087,
    "c": 0.11319,
    "h": 296
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#301659
secondary
#6F903B
accent
#E444A6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301659

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

Preview Lab → · Contrast checker → · Palette generator →

#301659 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva