#302467#302467

#302467 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.112 H 286.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#302467
RGBrgb(48, 36, 103)
HSLhsl(251, 48%, 27%)
HSVhsv(251, 65%, 40%)
CMYKcmyk(53.4%, 65%, 0%, 59.6%)
CIE-LABlab(19.51, 25.05, -37.65)
CIE-LCHlch(19.51, 45.22, 303.64°)
OKLaboklab(31.67% 0.0315 -0.1078)
OKLCHoklch(31.67% 0.112 286.3)
XYZxyz(4.2973, 2.8692, 13.1567)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302467 #5B6724
analogous
#243A67 #302467 #512467
triadic
#302467 #673024 #246730
tetradic
#302467 #67243A #5B6724 #246751
square
#302467 #67243A #5B6724 #246751
split-complementary
#302467 #675124 #3A6724
monochromatic
#0B0817 #1B143A #302467 #453494 #5C47BF

Accessibility & contrast

On white

13.34
#302467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#302467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302467
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302467#FFFFFF#000000##FFFFFF
##3024671.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#1C3441
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #302467;
/* rgb */ color: rgb(48, 36, 103);
/* oklch */ color: oklch(31.7% 0.112 286.3);
Tailwind
colors: {
  custom: {
    50: '#6e5f93',
    500: '#302467',
    950: '#000000',
  },
}
SCSS
$custom: #302467;
$custom-light: #6e5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#302467",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 250.746,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.11234,
    "h": 286.3
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#302467
secondary
#8C9A4C
accent
#D850BF
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #302467

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

Preview Lab → · Contrast checker → · Palette generator →

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