#230F4B#230F4B

#230F4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.103 H 292.0°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#230F4B
RGBrgb(35, 15, 75)
HSLhsl(260, 67%, 18%)
HSVhsv(260, 80%, 29%)
CMYKcmyk(53.3%, 80%, 0%, 70.6%)
CIE-LABlab(10.61, 26.36, -33.38)
CIE-LCHlch(10.61, 42.53, 308.29°)
OKLaboklab(24.11% 0.0388 -0.0957)
OKLCHoklch(24.11% 0.103 292)
XYZxyz(2.1336, 1.2069, 6.7758)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F4B #374B0F
analogous
#0F194B #230F4B #410F4B
triadic
#230F4B #4B230F #0F4B23
tetradic
#230F4B #4B0F19 #374B0F #0F4B41
square
#230F4B #4B0F19 #374B0F #0F4B41
split-complementary
#230F4B #4B410F #194B0F
monochromatic
#0C051A #0C051A #230F4B #3B197E #5323B1

Accessibility & contrast

On white

16.92
#230F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F4B
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F4B#FFFFFF#000000##FFFFFF
##230F4B1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#161F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230f4b;
/* rgb */ color: rgb(35, 15, 75);
/* oklch */ color: oklch(24.1% 0.103 292.0);
Tailwind
colors: {
  custom: {
    50: '#634f7e',
    500: '#230f4b',
    950: '#000000',
  },
}
SCSS
$custom: #230f4b;
$custom-light: #634f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#230f4b",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 260,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2411,
    "c": 0.10329,
    "h": 292
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#230F4B
secondary
#698530
accent
#EA3EB0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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