#301685#301685

#301685 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.168 H 282.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#301685
RGBrgb(48, 22, 133)
HSLhsl(254, 72%, 30%)
HSVhsv(254, 83%, 52%)
CMYKcmyk(63.9%, 83.5%, 0%, 47.8%)
CIE-LABlab(19.62, 42.62, -56.73)
CIE-LCHlch(19.62, 70.95, 306.92°)
OKLaboklab(32.64% 0.0367 -0.1636)
OKLCHoklch(32.64% 0.168 282.7)
XYZxyz(5.7382, 2.8952, 22.4422)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301685 #6B8516
analogous
#163385 #301685 #671685
triadic
#301685 #853016 #168530
tetradic
#301685 #851633 #6B8516 #168567
square
#301685 #851633 #6B8516 #168567
split-complementary
#301685 #856716 #338516
monochromatic
#0A051C #1D0D50 #301685 #431FBA #5E37DE

Accessibility & contrast

On white

13.30
#301685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#301685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301685
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301685#FFFFFF#000000##FFFFFF
##3016851.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #301685;
/* rgb */ color: rgb(48, 22, 133);
/* oklch */ color: oklch(32.6% 0.168 282.7);
Tailwind
colors: {
  custom: {
    50: '#7558aa',
    500: '#301685',
    950: '#000000',
  },
}
SCSS
$custom: #301685;
$custom-light: #7558aa;
$custom-dark: #000000;
JSON
{
  "hex": "#301685",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 254.054,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3264,
    "c": 0.16769,
    "h": 282.7
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#301685
secondary
#9CB93E
accent
#EE39C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #301685

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

Preview Lab → · Contrast checker → · Palette generator →

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