#230D48#230D48

#230D48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.102 H 294.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#230D48
RGBrgb(35, 13, 72)
HSLhsl(262, 69%, 17%)
HSVhsv(262, 82%, 28%)
CMYKcmyk(51.4%, 81.9%, 0%, 71.8%)
CIE-LABlab(9.90, 26.55, -32.45)
CIE-LCHlch(9.90, 41.93, 309.29°)
OKLaboklab(23.52% 0.0416 -0.093)
OKLCHoklch(23.52% 0.102 294.1)
XYZxyz(2.0064, 1.1130, 6.2387)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D48 #32480D
analogous
#0D1548 #230D48 #410D48
triadic
#230D48 #48230D #0D4823
tetradic
#230D48 #480D15 #32480D #0D4841
square
#230D48 #480D15 #32480D #0D4841
split-complementary
#230D48 #48410D #15480D
monochromatic
#0D051A #0D051A #230D48 #3C167C #5520B0

Accessibility & contrast

On white

17.18
#230D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#230D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D48
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D48#FFFFFF#000000##FFFFFF
##230D481.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#181D29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230d48;
/* rgb */ color: rgb(35, 13, 72);
/* oklch */ color: oklch(23.5% 0.102 294.1);
Tailwind
colors: {
  custom: {
    50: '#634e7c',
    500: '#230d48',
    950: '#000000',
  },
}
SCSS
$custom: #230d48;
$custom-light: #634e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230d48",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 262.373,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23515,
    "c": 0.1019,
    "h": 294.1
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#230D48
secondary
#63832D
accent
#EC3CAA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230D48

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

Preview Lab → · Contrast checker → · Palette generator →

#230D48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva