#301665#301665

#301665 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.129 H 291.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#301665
RGBrgb(48, 22, 101)
HSLhsl(260, 64%, 24%)
HSVhsv(260, 78%, 40%)
CMYKcmyk(52.5%, 78.2%, 0%, 60.4%)
CIE-LABlab(16.21, 32.93, -41.71)
CIE-LCHlch(16.21, 53.14, 308.29°)
OKLaboklab(29.24% 0.0469 -0.1197)
OKLCHoklch(29.24% 0.129 291.4)
XYZxyz(3.8541, 2.1416, 12.5197)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301665 #4B6516
analogous
#162465 #301665 #581665
triadic
#301665 #653016 #166530
tetradic
#301665 #651624 #4B6516 #166558
square
#301665 #651624 #4B6516 #166558
split-complementary
#301665 #655816 #246516
monochromatic
#0C0519 #180B33 #301665 #482197 #602CCA

Accessibility & contrast

On white

14.70
#301665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#301665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301665
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301665#FFFFFF#000000##FFFFFF
##3016651.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#1E2B3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301665;
/* rgb */ color: rgb(48, 22, 101);
/* oklch */ color: oklch(29.2% 0.129 291.4);
Tailwind
colors: {
  custom: {
    50: '#6f5692',
    500: '#301665',
    950: '#000000',
  },
}
SCSS
$custom: #301665;
$custom-light: #6f5692;
$custom-dark: #000000;
JSON
{
  "hex": "#301665",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 259.747,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29241,
    "c": 0.12858,
    "h": 291.4
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#301665
secondary
#7C9C3B
accent
#E741B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301665

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

Preview Lab → · Contrast checker → · Palette generator →

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