#30264B#30264B

#30264B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 29.9% C 0.066 H 294.5°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#30264B
RGBrgb(48, 38, 75)
HSLhsl(256, 33%, 22%)
HSVhsv(256, 49%, 29%)
CMYKcmyk(36%, 49.3%, 0%, 70.6%)
CIE-LABlab(18.02, 14.50, -21.37)
CIE-LCHlch(18.02, 25.82, 304.17°)
OKLaboklab(29.91% 0.0274 -0.06)
OKLCHoklch(29.91% 0.066 294.5)
XYZxyz(3.1817, 2.5226, 6.9745)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30264B #414B26
analogous
#262F4B #30264B #43264B
triadic
#30264B #4B3026 #264B30
tetradic
#30264B #4B262F #414B26 #264B43
square
#30264B #4B262F #414B26 #264B43
split-complementary
#30264B #4B4326 #2F4B26
monochromatic
#0D0A14 #161122 #30264B #4A3B74 #644F9C

Accessibility & contrast

On white

13.96
#30264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#30264B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30264B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30264B#FFFFFF#000000##FFFFFF
##30264B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4C
Deuteranopia (green-blind)
#1C2B4A
Tritanopia (blue-blind)
#2A2D34
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #30264b;
/* rgb */ color: rgb(48, 38, 75);
/* oklch */ color: oklch(29.9% 0.066 294.5);
Tailwind
colors: {
  custom: {
    50: '#6a607d',
    500: '#30264b',
    950: '#000000',
  },
}
SCSS
$custom: #30264b;
$custom-light: #6a607d;
$custom-dark: #000000;
JSON
{
  "hex": "#30264b",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 256.216,
    "s": 32.743,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.06599,
    "h": 294.5
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#30264B
secondary
#717E4F
accent
#C95FAC
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #30264B

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

Preview Lab → · Contrast checker → · Palette generator →

#30264B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva