#301655#301655

#301655 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.108 H 297.8°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#301655
RGBrgb(48, 22, 85)
HSLhsl(265, 59%, 21%)
HSVhsv(265, 74%, 33%)
CMYKcmyk(43.5%, 74.1%, 0%, 66.7%)
CIE-LABlab(14.72, 28.09, -33.45)
CIE-LCHlch(14.72, 43.68, 310.02°)
OKLaboklab(27.72% 0.0504 -0.0955)
OKLCHoklch(27.72% 0.108 297.8)
XYZxyz(3.1451, 1.8580, 8.7855)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301655 #3B5516
analogous
#161B55 #301655 #4F1655
triadic
#301655 #553016 #165530
tetradic
#301655 #55161B #3B5516 #16554F
square
#301655 #55161B #3B5516 #16554F
split-complementary
#301655 #554F16 #1B5516
monochromatic
#0E0618 #150924 #301655 #4B2386 #672FB6

Accessibility & contrast

On white

15.31
#301655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#301655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301655
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301655#FFFFFF#000000##FFFFFF
##3016551.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#272533
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #301655;
/* rgb */ color: rgb(48, 22, 85);
/* oklch */ color: oklch(27.7% 0.108 297.8);
Tailwind
colors: {
  custom: {
    50: '#6c5585',
    500: '#301655',
    950: '#000000',
  },
}
SCSS
$custom: #301655;
$custom-light: #6c5585;
$custom-dark: #000000;
JSON
{
  "hex": "#301655",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 264.762,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.10797,
    "h": 297.8
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#301655
secondary
#6B8C3A
accent
#E246A2
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #301655

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

Preview Lab → · Contrast checker → · Palette generator →

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