#30243E#30243E

#30243E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.7% C 0.049 H 304.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#30243E
RGBrgb(48, 36, 62)
HSLhsl(268, 27%, 19%)
HSVhsv(268, 42%, 24%)
CMYKcmyk(22.6%, 41.9%, 0%, 75.7%)
CIE-LABlab(16.69, 12.02, -14.51)
CIE-LCHlch(16.69, 18.84, 309.63°)
OKLaboklab(28.66% 0.0278 -0.0402)
OKLCHoklch(28.66% 0.049 304.7)
XYZxyz(2.7191, 2.2379, 4.8452)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30243E #323E24
analogous
#24253E #30243E #3D243E
triadic
#30243E #3E3024 #243E30
tetradic
#30243E #3E2425 #323E24 #243E3D
square
#30243E #3E2425 #323E24 #243E3D
split-complementary
#30243E #3E3D24 #253E24
monochromatic
#0F0B13 #120E17 #30243E #4E3A65 #6C518B

Accessibility & contrast

On white

14.51
#30243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#30243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30243E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30243E#FFFFFF#000000##FFFFFF
##30243E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#2E282E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30243e;
/* rgb */ color: rgb(48, 36, 62);
/* oklch */ color: oklch(28.7% 0.049 304.7);
Tailwind
colors: {
  custom: {
    50: '#695e73',
    500: '#30243e',
    950: '#000000',
  },
}
SCSS
$custom: #30243e;
$custom-light: #695e73;
$custom-dark: #000000;
JSON
{
  "hex": "#30243e",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 267.692,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28658,
    "c": 0.04888,
    "h": 304.7
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#30243E
secondary
#60714D
accent
#C36598
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #30243E

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

Preview Lab → · Contrast checker → · Palette generator →

#30243E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva