#230C48#230C48

#230C48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.103 H 294.4°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#230C48
RGBrgb(35, 12, 72)
HSLhsl(263, 71%, 16%)
HSVhsv(263, 83%, 28%)
CMYKcmyk(51.4%, 83.3%, 0%, 71.8%)
CIE-LABlab(9.70, 27.10, -32.77)
CIE-LCHlch(9.70, 42.52, 309.60°)
OKLaboklab(23.38% 0.0427 -0.0939)
OKLCHoklch(23.38% 0.103 294.4)
XYZxyz(1.9940, 1.0881, 6.2346)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C48 #31480C
analogous
#0C1348 #230C48 #410C48
triadic
#230C48 #48230C #0C4823
tetradic
#230C48 #480C13 #31480C #0C4841
square
#230C48 #480C13 #31480C #0C4841
split-complementary
#230C48 #48410C #13480C
monochromatic
#0D041A #0D041A #230C48 #3D157C #561DB1

Accessibility & contrast

On white

17.25
#230C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C48
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C48#FFFFFF#000000##FFFFFF
##230C481.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230c48;
/* rgb */ color: rgb(35, 12, 72);
/* oklch */ color: oklch(23.4% 0.103 294.4);
Tailwind
colors: {
  custom: {
    50: '#634d7c',
    500: '#230c48',
    950: '#000000',
  },
}
SCSS
$custom: #230c48;
$custom-light: #634d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230c48",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 263,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23378,
    "c": 0.10316,
    "h": 294.4
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#230C48
secondary
#62842C
accent
#EE3AA9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230C48

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

Preview Lab → · Contrast checker → · Palette generator →

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