#230B48#230B48

#230B48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.104 H 294.7°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#230B48
RGBrgb(35, 11, 72)
HSLhsl(264, 73%, 16%)
HSVhsv(264, 85%, 28%)
CMYKcmyk(51.4%, 84.7%, 0%, 71.8%)
CIE-LABlab(9.52, 27.64, -33.07)
CIE-LCHlch(9.52, 43.10, 309.88°)
OKLaboklab(23.25% 0.0437 -0.0948)
OKLCHoklch(23.25% 0.104 294.7)
XYZxyz(1.9822, 1.0645, 6.2307)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B48 #30480B
analogous
#0B1248 #230B48 #420B48
triadic
#230B48 #48230B #0B4823
tetradic
#230B48 #480B12 #30480B #0B4842
square
#230B48 #480B12 #30480B #0B4842
split-complementary
#230B48 #48420B #12480B
monochromatic
#0D041B #0D041B #230B48 #3D137D #571BB2

Accessibility & contrast

On white

17.31
#230B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B48
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B48#FFFFFF#000000##FFFFFF
##230B481.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.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: #230b48;
/* rgb */ color: rgb(35, 11, 72);
/* oklch */ color: oklch(23.2% 0.104 294.7);
Tailwind
colors: {
  custom: {
    50: '#634d7c',
    500: '#230b48',
    950: '#000000',
  },
}
SCSS
$custom: #230b48;
$custom-light: #634d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230b48",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 263.607,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23247,
    "c": 0.10438,
    "h": 294.7
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#230B48
secondary
#61842A
accent
#F038A8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230B48

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

Preview Lab → · Contrast checker → · Palette generator →

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