#301673#301673

#301673 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.146 H 287.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#301673
RGBrgb(48, 22, 115)
HSLhsl(257, 68%, 27%)
HSVhsv(257, 81%, 45%)
CMYKcmyk(58.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(17.64, 37.19, -48.50)
CIE-LCHlch(17.64, 61.12, 307.48°)
OKLaboklab(30.68% 0.0427 -0.1396)
OKLCHoklch(30.68% 0.146 287)
XYZxyz(4.5994, 2.4398, 16.4449)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301673 #597316
analogous
#162B73 #301673 #5F1673
triadic
#301673 #733016 #167330
tetradic
#301673 #73162B #597316 #16735F
square
#301673 #73162B #597316 #16735F
split-complementary
#301673 #735F16 #2B7316
monochromatic
#0B051A #1B0C40 #301673 #4520A6 #5C2DD7

Accessibility & contrast

On white

14.11
#301673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#301673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301673
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301673#FFFFFF#000000##FFFFFF
##3016731.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#123144
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301673;
/* rgb */ color: rgb(48, 22, 115);
/* oklch */ color: oklch(30.7% 0.146 287.0);
Tailwind
colors: {
  custom: {
    50: '#71579c',
    500: '#301673',
    950: '#000000',
  },
}
SCSS
$custom: #301673;
$custom-light: #71579c;
$custom-dark: #000000;
JSON
{
  "hex": "#301673",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 256.774,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.14601,
    "h": 287
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#301673
secondary
#8AA93C
accent
#EB3DBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301673

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

Preview Lab → · Contrast checker → · Palette generator →

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