#230F48#230F48

#230F48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.099 H 293.5°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#230F48
RGBrgb(35, 15, 72)
HSLhsl(261, 66%, 17%)
HSVhsv(261, 79%, 28%)
CMYKcmyk(51.4%, 79.2%, 0%, 71.8%)
CIE-LABlab(10.31, 25.39, -31.78)
CIE-LCHlch(10.31, 40.68, 308.63°)
OKLaboklab(23.81% 0.0395 -0.091)
OKLCHoklch(23.81% 0.099 293.5)
XYZxyz(2.0333, 1.1668, 6.2477)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F48 #34480F
analogous
#0F1748 #230F48 #400F48
triadic
#230F48 #48230F #0F4823
tetradic
#230F48 #480F17 #34480F #0F4840
square
#230F48 #480F17 #34480F #0F4840
split-complementary
#230F48 #48400F #17480F
monochromatic
#0C0519 #0C0519 #230F48 #3C1A7B #5424AD

Accessibility & contrast

On white

17.03
#230F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F48
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F48#FFFFFF#000000##FFFFFF
##230F481.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#181E2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f48;
/* rgb */ color: rgb(35, 15, 72);
/* oklch */ color: oklch(23.8% 0.099 293.5);
Tailwind
colors: {
  custom: {
    50: '#624f7c',
    500: '#230f48',
    950: '#000000',
  },
}
SCSS
$custom: #230f48;
$custom-light: #624f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230f48",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 261.053,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23806,
    "c": 0.09924,
    "h": 293.5
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#230F48
secondary
#668230
accent
#E83FAD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #230F48

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

Preview Lab → · Contrast checker → · Palette generator →

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