#301867#301867

#301867 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.129 H 290.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#301867
RGBrgb(48, 24, 103)
HSLhsl(258, 62%, 25%)
HSVhsv(258, 77%, 40%)
CMYKcmyk(53.4%, 76.7%, 0%, 59.6%)
CIE-LABlab(16.80, 32.44, -42.07)
CIE-LCHlch(16.80, 53.12, 307.63°)
OKLaboklab(29.72% 0.0444 -0.1208)
OKLCHoklch(29.72% 0.129 290.2)
XYZxyz(3.9930, 2.2608, 13.0553)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301867 #4F6718
analogous
#182767 #301867 #581867
triadic
#301867 #673018 #186730
tetradic
#301867 #671827 #4F6718 #186758
square
#301867 #671827 #4F6718 #186758
split-complementary
#301867 #675818 #276718
monochromatic
#0C0619 #190C35 #301867 #472499 #5E2FCA

Accessibility & contrast

On white

14.46
#301867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#301867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301867
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301867#FFFFFF#000000##FFFFFF
##3018671.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#1D2D3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #301867;
/* rgb */ color: rgb(48, 24, 103);
/* oklch */ color: oklch(29.7% 0.129 290.2);
Tailwind
colors: {
  custom: {
    50: '#6f5793',
    500: '#301867',
    950: '#000000',
  },
}
SCSS
$custom: #301867;
$custom-light: #6f5793;
$custom-dark: #000000;
JSON
{
  "hex": "#301867",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 258.228,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29715,
    "c": 0.12871,
    "h": 290.2
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#301867
secondary
#809D3E
accent
#E543B4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301867

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

Preview Lab → · Contrast checker → · Palette generator →

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